1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 16:38:25 +02:00
Commit Graph

239 Commits

Author SHA1 Message Date
Pierre Joye d9c6286120 - don't use inet_ntop when not present 2008-07-12 23:25:42 +00:00
Sebastian Bergmann 9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Dmitry Stogov 8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Antony Dovgal 976a22df16 php_gmtime_r() fixes 2007-06-07 08:58:38 +00:00
Antony Dovgal ccd97f3a21 fix test names 2007-05-07 17:23:53 +00:00
Antony Dovgal 93a1275f8a MFB 2007-03-26 08:02:36 +00:00
Martin Kraemer e46b1b3747 Typo 2007-03-14 09:49:58 +00:00
Marcus Boerger 20a40063c5 - avoid sprintf 2007-02-24 16:25:58 +00:00
Antony Dovgal 25994a33b7 fix test 2007-02-21 19:27:30 +00:00
Nuno Lopes a9aaeea886 MFB 2007-02-13 18:30:19 +00:00
Sebastian Bergmann 3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Hannes Magnusson 2d0d09830c Fix tests 2006-12-22 01:20:24 +00:00
Antony Dovgal 940f70c47b fix leaks 2006-12-03 13:58:54 +00:00
Nuno Lopes 73d474be62 MFB: fix #39458 2006-12-01 16:42:48 +00:00
Antony Dovgal fef764b122 fix test
this errmsg is different on FreeBSD
2006-11-27 11:43:45 +00:00
Nuno Lopes 2eef6c8793 more tests 2006-11-24 20:20:51 +00:00
Nuno Lopes 48fd490fb5 MFB 2006-11-24 15:50:45 +00:00
Antony Dovgal 9f99f2e9b1 fix test 2006-11-24 13:40:29 +00:00
Antony Dovgal a3cf20ddc3 fix #39583 (ftp_put() does not change transfer mode to ASCII) 2006-11-24 12:38:25 +00:00
Nuno Lopes a75c11138b MFB 2006-11-23 20:48:21 +00:00
Nuno Lopes fc24777859 MFB 2006-11-23 17:37:16 +00:00
Nuno Lopes d12df980e5 MFB 2006-11-19 18:38:11 +00:00
Hannes Magnusson 176b72284c Error message clean up
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Hannes Magnusson 3b36c0e4d8 Added argument info
Fixed protos & vim folding
2006-06-11 19:59:53 +00:00
Antony Dovgal 0b0fff07b2 fix spelling in error messages:
greater/less thEn -> greater/less thAn
2006-04-03 09:14:50 +00:00
Andi Gutmans 1efe984d08 - Get rid of using ENFORCE_SAFE_MODE. 2006-02-19 04:29:42 +00:00
foobar 251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
Ilia Alshanetsky c4ee761db1 MFB51: Fixed bug #31971 (ftp_login fails on some SSL servers) 2005-11-05 22:02:40 +00:00
Brian France 3130689708 MFB: Fixed phpize build (default PHP_OPENSSL to no if not set) 2005-11-01 00:46:44 +00:00
foobar acaa301798 MFB 2005-10-09 20:44:26 +00:00
foobar f51f365fcf Fix properly 2005-10-09 20:38:28 +00:00
foobar 1b5c95e4ee - Fixed bug #34796 (missing SSL linking in ext/ftp when configured as shared) 2005-10-09 20:33:09 +00:00
foobar 4985dd8da3 - Removed EOLs from error messages 2005-08-18 12:37:24 +00:00
foobar 23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Ilia Alshanetsky b36d4ae02c Added bindto socket context option. 2005-06-14 02:39:42 +00:00
Ilia Alshanetsky fed3058fba Fixed compiler warning on win32. 2005-03-17 17:16:43 +00:00
Ilia Alshanetsky ff80321587 Final set of fixes for bug #27633.
# Many thanks to Edin for helpind analyze and resolve this bug.
2005-03-10 23:37:45 +00:00
Ilia Alshanetsky 21ff96859e Fixes to ascii downloads on win32. 2005-03-09 20:52:38 +00:00
Ilia Alshanetsky f2eb0acfcf Fixed bug #27633 (Double \r\r problem on ftp_get in ASCII mode on Win32). 2005-02-17 15:37:24 +00:00
Ilia Alshanetsky e35adfe522 Fixed bug #30027 (Possible crash inside ftp_get()).
# Patch by cfield at affinitysolutions dot com
2004-10-05 23:53:09 +00:00
Anantha Kesari H Y 5da74deab9 removed unwanted NEW_LIBC checks 2004-09-27 14:29:55 +00:00
Anantha Kesari H Y e12ea3c30d removed redundant NEW_LIBC check 2004-09-27 14:25:13 +00:00
Wez Furlong 99e290f882 Fix for Bug #24189: possibly unsafe select(2) usage.
We avoid the problem by using poll(2).

On systems without poll(2) (older bsd-ish systems, and win32), we emulate
poll(2) using select(2) and check for valid descriptors before attempting
to access them via the descriptor sets.

If an out-of-range descriptor is detected, an E_WARNING is raised suggesting
that PHP should be recompiled with a larger FD_SETSIZE (and also with a
suggested value).

Most uses of select(2) in the source are to poll a single descriptor, so
a couple of handy wrapper functions have been added to make this easier.

A configure option --enable-fd-setsize has been added to both the unix and
win32 builds; on unix we default to 16384 and on windows we default to 256.
Windows FD_SETSIZE imposes a limit on the maximum number of descriptors that
can be select()ed at once, whereas the unix FD_SETSIZE limit is based on the
highest numbered descriptor; 256 should be plenty for PHP scripts under windows
(the default OS setting is 64).

The win32 specific parts are untested; will do that now.
2004-09-17 12:44:56 +00:00
Ilia Alshanetsky dbc60edabf Fixed bug #27809 (ftp_systype returns null on some ftp servers). 2004-03-31 20:43:40 +00:00
Hartmut Holzgraefe eeb172b29f "The Visa to Sibiria" (work in progress)
Adding a package.xml to a bundled extension does not only
ease the transition to PECL whereever suitable but also
allows to build and install an extension as "shared" using
the PEAR installer without having to deal with phpize and
friends by hand
2004-03-23 19:46:10 +00:00
Ilia Alshanetsky b176ee99d3 Fixed bug #27633 (Incorrect EOL translation by ftp_get() in ASCII mode). 2004-03-18 17:12:07 +00:00
Sara Golemon 85aa47efab Don't rely on ANSI tmpfile(), use the streams layer instead, it'll deal with platform issues. 2004-03-04 22:24:27 +00:00
Ard Biesheuvel 81f05c18f5 Wordsize fixes 2004-02-25 20:16:27 +00:00
Sara Golemon c23305e184 Avoid use of memcpy(), reply on struct in_addr to be right sized instead 2004-02-21 19:37:37 +00:00