Commit Graph

1417 Commits

Author SHA1 Message Date
Andi Gutmans
91451bfcaf - Remove leak from opendir() under Windows. Maybe readdir.c should be
changed to use emalloc()
PR:
Submitted by:
Reviewed by:
Obtained from:
2001-04-29 18:06:56 +00:00
Andi Gutmans
21603118b1 - Fix bug Bug id #5987. It could be fixed by changing readdir.c but I
- prefered not to touch that code but to treat windows a bit differently
- in dir.c
PR:
Submitted by:
Reviewed by:
Obtained from:
2001-04-29 17:57:23 +00:00
Derick Rethans
b8ad2e842d - 'Fix' for bug #10145 2001-04-29 15:48:07 +00:00
Sean Bright
a98c9ba66f Fix proto decription. 2001-04-29 13:30:56 +00:00
Sean Bright
596e8208be Really fix bug #10362.
# My previous fix caused a segfault when there were parens in an unallowed
# tag :(  Thanks Andi.
2001-04-29 13:16:05 +00:00
Sean Bright
9e34117cd9 Fix for bug #10362 2001-04-28 23:07:51 +00:00
Sean Bright
4175151567 - Fix for bugs #9042, #8212, and #8962. Patch from <tunacat@yahoo.com>
- Fixed proto for exec()
2001-04-28 13:16:18 +00:00
Sterling Hughes
1865be6ca4 fix for bug #8994, courtesy tom.anheyer@berlinonline.de
# Are we having another RC, and if so, can I MFH in time for it?
2001-04-26 13:47:17 +00:00
Rasmus Lerdorf
e8e6828863 - Make the printf functions binary clean
@ - Make the printf family of functions binary clean
2001-04-25 21:05:59 +00:00
Andrei Zmievski
07a5e3fb9c * Made ENT_* defines availabe to other functions.
* The key/variable names in WDDX are now html escaped to not break XML.
@- Fixed WDDX serialization to HTML-escape key/variable names so as not to
@  break the XML packet. (Andrei)
2001-04-25 20:14:29 +00:00
Andi Gutmans
ef1835f54f - Fix filetype() and lstat() too. 2001-04-25 06:30:24 +00:00
Andi Gutmans
ef71855bc6 - Another fix 2001-04-25 05:53:45 +00:00
Andi Gutmans
502b4efb7d - Nuke warning. This signed/unsigned stuff gets really annoying sometimes. 2001-04-25 05:43:30 +00:00
Andi Gutmans
76860d4fc0 - Fix problem with is_link(), there seem to be at least another couple of
- bugs lurking around though.
- Cleaned up code a bit and optimized it a bit too.
2001-04-25 04:22:29 +00:00
Stig Bakken
2cf1b8d345 * expanded the following constants and made them available in PHP:
DEFAULT_INCLUDE_PATH
  PEAR_INSTALL_DIR
  PHP_EXTENSION_DIR
  PHP_BINDIR
  PHP_LIBDIR
  PHP_DATADIR
  PHP_SYSCONFDIR
  PHP_LOCALSTATEDIR
  PHP_CONFIG_FILE_PATH
* no longer generating pear/PEAR.php
* fixed some tests
* some more installer work
2001-04-22 01:09:14 +00:00
foobar
d9b2f7910e ws pollution removed. 2001-04-20 15:37:55 +00:00
Wez Furlong
86c84da7c2 Discovered warn_not_available and used it. 2001-04-17 17:08:03 +00:00
Wez Furlong
57af70f707 Changes for streams. Added temporary fopenstream function to PHP so that
the streams can be tested.
2001-04-17 17:06:06 +00:00
Alexander Feldman
f0abfcc894 Fixed typo. 2001-04-15 19:03:12 +00:00
Alexander Feldman
531b8042ad We shoud not fseek in a pipe and this caused a problem with popen and
fgets on the platforms where the buffer fix was applied (Solaris, FreeBSD).
Now the fseek is done only when the handle is of type fopen.
2001-04-15 18:42:50 +00:00
Thies C. Arntzen
9a42a31ba4 @- Fixed crash in pathinfo() 2001-04-13 18:22:13 +00:00
Sean Bright
b936138fd3 Constand should be case sensitive.
# Thanks Sterling
2001-04-09 21:12:54 +00:00
Jon Parise
5464d29551 Fix whitespace (use tabs). 2001-04-09 21:08:47 +00:00
Sean Bright
ec6f1887f8 Stop SIGSEGV on Apache startup. Patch from <adam@indexdata.dk> 2001-04-09 20:56:49 +00:00
Rasmus Lerdorf
334cba47b9 printf argnum (parameter swapping) support from Morten Poulsen 2001-04-09 15:44:24 +00:00
Stig Bakken
368c6bf003 @Add DIRECTORY_SEPARATOR constant ('/' on UNIX, '\' on Windows) (Stig) 2001-04-08 21:57:13 +00:00
foobar
176f5847be ws pollution removed. 2001-04-07 21:46:43 +00:00
André Langhorst
9762f64222 fix proto 2001-04-07 15:43:06 +00:00
foobar
62c517d124 spaces to tabs 2001-04-05 18:48:03 +00:00
foobar
c34d2b91da Added new configuration directives:
arg_separator.input and arg_separator.output
2001-04-04 20:46:26 +00:00
foobar
83b5a2fb0c SCO (and maybe others) do not have this defined. 2001-04-03 10:51:16 +00:00
Anil Madhavapeddy
d26ec12ba2 Free the correct output buffer, to avoid a segfault on a HEAD request
when using output buffering with a custom handler (patch by zeev@)
2001-04-02 16:45:27 +00:00
James Moore
e52ec10341 remove rogue ZEND_GET_MODULE() 2001-04-02 16:37:50 +00:00
Andrei Zmievski
221a5a60b6 Use correct string length. 2001-04-02 13:20:16 +00:00
Zeev Suraski
b865380edb Fix headers handling with output buffering 2001-03-31 22:53:19 +00:00
André Langhorst
7d50e21a4b fix typo 2001-03-28 20:08:49 +00:00
André Langhorst
339ac67ce3 fix proto 2001-03-28 19:41:38 +00:00
Derick Rethans
c713967de3 - 'Fix' for bug 10002 2001-03-27 17:21:45 +00:00
Sascha Schumann
fa068b5297 Fix ZTS build 2001-03-24 01:08:13 +00:00
Romolo Manfredini
01ac20050e Added target ownership check in function copy for safe_mode operations 2001-03-23 09:30:51 +00:00
Stephen van Egmond
7f48c7adf5 Simple patch to deal with lack of fields in the BeOS implementation of rusage. 2001-03-23 04:36:29 +00:00
Sean Bright
90f3e09f08 Fixed prototype. 2001-03-22 14:43:48 +00:00
Ben Mansell
6d7ce5ffa0 UnixWare 7.1 does not have EX_TEMPFAIL or (as far as I can tell)
a concept of a temporary failure response to pclose().
2001-03-21 15:15:31 +00:00
Sean Bright
e249545165 Fix for bug #9698.
# Anyone that can think of a way to fix long2ip(), feel free.
2001-03-21 13:53:38 +00:00
Fredrik Öhrn
3c5ed324dd Fix erronous out of bounds error message in rand(min,max) 2001-03-20 20:48:42 +00:00
Andrei Zmievski
d9aa966a44 @- Added array_map() function that applies a callback to the elements
@  of given arrays and returns the result. It can also be used with a
@  null callback to transpose arrays. (Andrei)
2001-03-19 21:20:02 +00:00
Stephen van Egmond
3b8140e47c fixed a (C++) warning about implicit conversion from void* 2001-03-17 20:35:38 +00:00
Zeev Suraski
34b2fc4a6c Fix the output buffering bug Andre found 2001-03-17 03:03:50 +00:00
Andrei Zmievski
770c66125d @- Added array_filter(), which allows filtering of array elements via
@  the specified callback. (Andrei)
2001-03-16 20:46:33 +00:00
Andrei Zmievski
f7f2cf9de5 All user callbacks should be to EG(function_table). 2001-03-16 19:51:08 +00:00