Commit Graph

101 Commits

Author SHA1 Message Date
Felipe Pena
dcca384b8c - MFB: Fix build where __USE_GNU is used instead of _GNU_SOURCE to define utsname.domainname 2008-06-23 01:16:49 +00:00
Rasmus Lerdorf
f0f6e70406 No domainname element in utsname on OSX 2008-05-05 21:28:47 +00:00
Antony Dovgal
77403f0c94 fix folding 2008-05-04 09:33:56 +00:00
Antony Dovgal
0e7655209a fix 2 segfaults in ZTS mode 2008-04-11 10:59:50 +00:00
Felipe Pena
2818d4fc51 New way for check void parameters 2008-03-04 23:39:15 +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
Hannes Magnusson
1eaf171d98 Show "wrong parameter count" error messages 2007-07-25 09:05:55 +00:00
Antony Dovgal
65b54baac4 check for buflen (on FreeBSD _SC_GETGR_R_SIZE_MAX is not implemented)
patch by stas at FreeBSD dot org
2007-02-22 23:40:25 +00:00
Antony Dovgal
bbf2cf8c7b use the same ifdef anf get rid of "unused var" warnings 2007-02-10 00:50:29 +00:00
Antony Dovgal
32a4dee8a0 fix #40410 (ext/posix does not compile on MacOS 10.3.9) 2007-02-09 10:15:03 +00:00
Ilia Alshanetsky
e5a2796223 MFB:
Fixed bug #40098 (php_fopen_primary_script() not thread safe).
	Adjusted previous fixes for similar issue to handle sysconf() failures
2007-01-12 01:50:43 +00:00
Sara Golemon
5082591ce2 #ifdef out the rest of that getpwuid_r() patch, see prior commit 2007-01-11 02:31:50 +00:00
Sara Golemon
8ed4339000 Some platforms have getpwnam_r() but are missing _SC_GETPW_R_SIZE_MAX 2007-01-11 01:52:24 +00:00
Sara Golemon
b42c175d75 Refix posix_ttyname(), test for a working implementation of ttyname_r() -- which BSD doesn't have 2007-01-05 21:30:06 +00:00
Sara Golemon
925cbe4cfe BSD4.1 (possibly others) doesn't support _SC_TTY_NAME_MAX 2007-01-05 20:01:44 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Antony Dovgal
611c688d7c mark most of the ext/posix functions as Unicode safe, for they do not use strings in any way 2006-12-25 19:03:56 +00:00
Antony Dovgal
cbadf38682 fix possible leaks 2006-12-21 01:00:39 +00:00
Ilia Alshanetsky
85213a12dc MFB: Fixed bug #39754 (Some POSIX extension functions not thread safe). 2006-12-07 01:41:29 +00:00
Ilia Alshanetsky
24731d0ba9 MFB: Thread safety fixed for *nix systems 2006-11-30 00:35:27 +00:00
Hannes Magnusson
9c669ecf1f Protos 2006-10-02 07:54:37 +00:00
Nuno Lopes
37a08a329c MFB 2006-09-16 17:42:44 +00:00
Antony Dovgal
a10691e3b9 last portion of z/Z fixes 2006-08-31 16:14:43 +00:00
Ilia Alshanetsky
2e1fd9c044 MFB: Added missing ifdef block. 2006-06-19 23:55:11 +00:00
Ilia Alshanetsky
4396986fc7 MFB: Added posix_initgroups() function. 2006-06-19 02:19:45 +00:00
Dmitry Stogov
943960c324 Added automatic module globals management 2006-06-13 13:12:20 +00:00
Andi Gutmans
e94e25e621 Start nuking safe_mode. Still a lot of work to do... 2006-02-19 00:55:22 +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
Derick Rethans
9d0664976f - Fixed posix_mknod() checks and warnings. 2005-11-02 15:50:06 +00:00
Magnus M��tt�
1b31cbdf1a makedev is a macro on several systems. 2005-08-08 21:44:58 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Derick Rethans
384c52faee - Added check for makedev systemcall, which Netware doesn't support. 2005-06-30 10:03:36 +00:00
Wez Furlong
f9de2a3dbd fix build on Solaris 2005-06-06 22:04:14 +00:00
Magnus M��tt�
1c7d86ad2a Added new function: posix_mknod(). 2005-05-13 21:38:17 +00:00
foobar
4b87d8360e - getlogin() / getgroups() are not necessarily available everywhere 2005-05-09 12:15:53 +00:00
Antony Dovgal
3ff7f46fd4 change return type from NULL to FALSE when parameter parsing failed
(as was requested by Ilia)
2005-01-28 01:38:56 +00:00
Antony Dovgal
75725c57a5 MFB: fix posix_getsid() & posix_getpgid() 2005-01-28 00:27:48 +00:00
Magnus M��tt�
5ec0e49497 Argh.. Committed old patch.
Add safe_mode check and fix error code.
2005-01-07 17:38:03 +00:00
Magnus M��tt�
0dddd923c7 Added new function: posix_access()
Feature requests: #29615, #14924
2005-01-07 16:05:06 +00:00
Ilia Alshanetsky
60292114a0 Simplify code via the use of macros. 2004-04-18 21:49:10 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Ilia Alshanetsky
c23609efa7 Fixed paths in various tests. In certain conditions usage of partial file
paths results in test failures.
2003-08-18 22:57:49 +00:00
Andrey Hristov
5fcc682ebc proto fixes 2003-07-19 19:23:34 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
David Hill
5c90216d2c 64-bit correction to variables passed to zend_parse_parameters
@64-bit correction to variables passed to zend_parse_parameters (Dave)
2003-03-06 23:07:28 +00:00
Ilia Alshanetsky
3d8e54f3a2 Changed php_error to php_error_docref. 2003-01-19 00:45:53 +00:00
Ilia Alshanetsky
72b356c1bc Removed pointless memory allocation checks. 2003-01-18 19:28:10 +00:00
Sebastian Bergmann
b506f5c8f8 Bump year. 2002-12-31 16:08:15 +00:00