Commit Graph

972 Commits

Author SHA1 Message Date
Pierre Joye
2961be0296 - #50690, putenv does assign value when their length is one char 2010-01-24 13:49:47 +00:00
Pierre Joye
36a0d2e525 - make getservbyname on windows behaves like *nux when proto is an empty string 2010-01-24 13:36:08 +00:00
Sebastian Bergmann
22f4ef45fe sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Felipe Pena
a51e7d3343 - Added MAKE_COPY_ZVAL(ppzv, pzv) macro 2009-12-08 01:57:37 +00:00
Stanislav Malyshev
7353e234b4 add realpath cache inspect functions 2009-12-08 01:35:08 +00:00
Jani Taskinen
80576044c0 - Fixed error_log() to be binary safe when using message_type 3 (message appended to file). 2009-11-22 18:31:01 +00:00
Ilia Alshanetsky
0e9dbae4f8 Fixed bug #49855 (import_request_variables() always returns NULL). 2009-10-15 12:26:54 +00:00
Ilia Alshanetsky
f90c706a9a Fixed bug #49757 (long2ip() can return wrong value in a multi-threaded applications).
# original patch by Florian Anderiasch
2009-10-05 14:45:54 +00:00
Scott MacVicar
ed5b573242 Fix build on platforms where crypt isn't always available 2009-08-12 09:18:41 +00:00
Scott MacVicar
118b42f142 Remove usage of res_nmkquery and res_nsend. We essentially were just doing a res_search() anyway, though now we use res_nsearch() with our own state.
This also adds support for using the high level <dns.h> API on OSX which in turns allows use of bind9 (finally).
2009-08-06 00:10:46 +00:00
Scott MacVicar
80d7dee7d6 Change dns.h to php_dns.h, part of my dns cleanup 2009-08-05 23:20:17 +00:00
Jani Taskinen
c6b7baaa49 - Removed unused code (replaced long time ago by url_scanner_ex.* 2009-07-26 22:59:46 +00:00
Kalle Sommer Nielsen
663600b41d Fixed arginfo for array_map, patch by Matthew Fonda <matthewfonda@gmail.com> 2009-06-20 06:05:26 +00:00
Pierre Joye
1c9d43d430 - silent warning 2009-06-15 08:32:18 +00:00
Matt Wilmas
fa54a9d0f3 Fixed error message grammar:
- "cannot" instead of "can not" (meaning "also can")
 - "than" instead of "then" (Hint: "then" should hardly be needed;
     you're not telling the order in which to do something)

... plus removed a couple ending. dots
2009-06-06 02:40:14 +00:00
Felipe Pena
6d34e06a2f - Dropped *_TEXT* macros in favor of unicode macros direct usage 2009-05-25 14:32:15 +00:00
Andrei Zmievski
afa4e41c2f Implement JIT request decoding support for $_GET and $_POST. 2009-05-23 18:03:27 +00:00
Ilia Alshanetsky
b04a12bcf1 MFB: Fixed bug #47365 (ip2long() may allow some invalid values on certain
64bit systems)
2009-04-28 22:27:26 +00:00
Felipe Pena
c0386a0851 - Fixed bug #48087 (call_user_method() invalid free of arguments) 2009-04-27 12:50:00 +00:00
Arnaud Le Blanc
14e482909e Fix memleak in set_include_path()
(ext/standard/tests/file/file_put_contents_variation5.phpt)
2009-04-25 21:06:01 +00:00
Felipe Pena
8ecf8ede1f - Removed:
- UG(unicode) checks
       - pcre_cache_entry.unicode_mode
- Changed:
       - ZEND_STR_TYPE -> IS_UNICODE
       - convert_to_text -> convert_to_unicode
       - convert_to_text_ex -> convert_to_unicode_ex

(Felipe, Steph)
2009-03-26 20:02:53 +00:00
Dmitry Stogov
e2923b2414 Fixed bug #47038 (Memory leak in include) 2009-03-25 15:24:51 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Pierre Joye
0eee659e5a - include php win32's time.h 2009-01-19 02:31:18 +00:00
Pierre Joye
4b9ddc9403 - symlink, hardlink & co support (2/2) & (3/3) 2009-01-16 10:04:29 +00:00
Ilia Alshanetsky
77cbc325f5 MFB:Fixed a bug inside mail() logging code that prevents log file from
existing outside of open_basedir
2009-01-13 21:29:45 +00:00
Pierre Joye
7844cc3873 - [DOC] add support for all DNS function on Windows
- dns_check_record  (and its alias  checkdnsrr)
  - dns_get_record
   - IPV6 specific info not available yet:
     . AAAA info is available only on vista/2k8 for now
     . A6 info is not available
  - dns_get_mx (and its alias getmxrr)
2009-01-06 20:44:56 +00:00
Ilia Alshanetsky
15aada4fa2 MFB: Added gethostname() to return the current system host name. 2008-12-31 14:33:41 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Christian Seiler
2836cce10b - Implemented http://wiki.php.net/rfc/rounding 2008-12-02 16:25:06 +00:00
Stanislav Malyshev
3143bd3bf1 MFB: init BG(page_uid) and BG(page_gid) 2008-11-29 00:47:51 +00:00
Arnaud Le Blanc
181c08a32a Missed file from commit for #44181 & #44182 2008-11-26 04:08:07 +00:00
Stanislav Malyshev
3da4e38bdf MFB: restore BC for arrays 2008-11-24 19:24:09 +00:00
Arnaud Le Blanc
7161dcc35b Fixed some conditional jumps depending on uninitialised value 2008-11-24 19:16:51 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Stanislav Malyshev
01deabb5cd MFB - Add error_log option to log directly to SAPI 2008-11-13 18:51:21 +00:00
Arnaud Le Blanc
047870a61f MFB: Added header_remove() (chsc at peytz dotdk, Arnaud) 2008-11-13 10:33:08 +00:00
Arnaud Le Blanc
f24bc6f421 Added stream_context_get_params()
[DOC] proto bool stream_context_get_params(resource context|stream)
      Get parameters of a file context (parameters set by
      stream_context_set_params())
2008-11-13 05:46:51 +00:00
Arnaud Le Blanc
c0039b30be Added parse_ini_string() function (grange at lemonde dot fr, Arnaud)
[DOC] new function parse_ini_string()
      proto array parse_ini_string(string ini_string
          [, bool process_sections [, int scanner_mode]])
      Same as parse_ini_file() except that it takes a string instead of a
      filename.
2008-11-05 21:33:19 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Arnaud Le Blanc
5ef7ecafc1 initialize optional vars 2008-10-21 22:06:49 +00:00
Kalle Sommer Nielsen
e667c25403 [DOC] Remove define_syslog_variables() and define_syslog_variables ini option 2008-10-15 18:41:18 +00:00
Jani Taskinen
a4a02f3830 [DOC]- Fixed bug #45956 (parse_ini_file() does not return false with syntax errors in parsed file)
[DOC] note: change will be in since 5.2.7
2008-08-31 00:19:21 +00:00
Felipe Pena
7de23da81e - Removed unused arguments 2008-08-22 15:51:50 +00:00
Pierre Joye
adfa214688 - drop bindlib usage on windows
- inet_pton, inet_ntop and inet_aton are always available (VC9 uses the CRT implementation, VC6 our own)
2008-08-21 23:37:40 +00:00
Marcus Boerger
6b1377b1f5 - Fix 64bit issue 2008-08-21 16:55:31 +00:00
Antony Dovgal
d5c8e59d97 revert for now 2008-08-21 08:37:01 +00:00
Pierre Joye
96310b8905 - work around ENV VC6 bug 2008-08-20 22:19:57 +00:00
Antony Dovgal
1cab2c1e24 fix warning 2008-08-20 09:00:37 +00:00