Commit Graph

184 Commits

Author SHA1 Message Date
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Ant Phillips
fc8a260a92 Remove duff comment produced by the test generator tool 2008-12-05 14:18:02 +00:00
Felipe Pena
5341de4a9d - Fixed strange typos 2008-12-03 20:44:15 +00:00
Felipe Pena
3c227429b2 - Coverage++ 2008-12-03 16:20:59 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Arnaud Le Blanc
a7279c4457 MFH: Fixed #46059 (Compile failure under IRIX 6.5.30 building posix.c) 2008-09-20 22:12:43 +00:00
Alexey Zakhlestin
8e46482aac fixed tests not to rely on actual strings of errors, as those are not defined by any standard and are platform-dependent 2008-07-04 14:30:36 +00:00
Felipe Pena
f2d0da3c29 - Fixed folding 2008-06-23 17:28:06 +00:00
Felipe Pena
a3da6b4c1b - Added arginfo 2008-06-23 16:41:00 +00:00
Felipe Pena
f90b9d2979 - Fix build where __USE_GNU is used instead of _GNU_SOURCE to define utsname.domainname 2008-06-22 21:45:42 +00:00
Rasmus Lerdorf
ee4a691627 There is no domainname element in utsname on OSX 2008-05-05 21:26:46 +00:00
Antony Dovgal
b5b865e667 MFH: fix folding 2008-05-04 09:34:16 +00:00
Antony Dovgal
f5a7642277 fix tests 2008-04-11 11:05:56 +00:00
Antony Dovgal
c300f98ee0 MFH: fix 2 segfaults in ZTS mode 2008-04-11 11:00:03 +00:00
Steve Seear
ca3391f44c POSIX extension error tests 2008-04-11 09:33:08 +00:00
Steve Seear
d096787fbf POSIX extension variation tests 2008-04-11 09:28:07 +00:00
Felipe Pena
84a8bb038a MFH: New way for check void parameters 2008-03-10 22:15:36 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Hannes Magnusson
d2d88e74a0 MFH: Show "wrong parameter count" error messages 2007-07-25 09:06:22 +00:00
Martin Kraemer
9c62ddde34 Typo 2007-03-14 09:58:14 +00:00
Antony Dovgal
6124bcda0d MFH: fix #40678 (Cross compilation fails) 2007-03-01 11:23:54 +00:00
Antony Dovgal
e0a7362646 MFH: 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:39 +00:00
Antony Dovgal
7b12fd5492 MFH 2007-02-10 00:50:38 +00:00
Antony Dovgal
2024ec6e2a MFH: fix #40410 (ext/posix does not compile on MacOS 10.3.9) 2007-02-09 10:15:46 +00:00
Ilia Alshanetsky
2ae036f038 Fixed bug #40098 (php_fopen_primary_script() not thread safe).
Adjusted previous fixes for similar issue to handle sysconf() failures
2007-01-12 01:46:11 +00:00
Sara Golemon
5e74c607a2 MFH 2007-01-11 02:33:07 +00:00
Sara Golemon
13f447eb64 MFH: (r-1.16) ttyname_r() is broken on BSD 2007-01-05 21:31:56 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Antony Dovgal
ffa7e957c5 fix possible leaks 2006-12-21 01:00:58 +00:00
Ilia Alshanetsky
72ea6912f7 Fixed bug #39754 (Some POSIX extension functions not thread safe). 2006-12-07 01:41:18 +00:00
Ilia Alshanetsky
ac9927728a Added missing function checks 2006-11-30 16:48:03 +00:00
Ilia Alshanetsky
52bd6de7f4 Thread safety fixed for *nix systems 2006-11-30 00:35:15 +00:00
Hannes Magnusson
39219cf7fe protos 2006-10-02 07:58:13 +00:00
Nuno Lopes
bfc9cd7174 fix possible crash in posix_access() 2006-09-16 17:41:57 +00:00
Antony Dovgal
75b8cd741b last portion of z/Z fixes 2006-08-31 16:15:24 +00:00
Ilia Alshanetsky
0406556da4 Added missing ifdef block.
# Thanks Mike
2006-06-19 23:52:39 +00:00
Ilia Alshanetsky
3b7be889d8 Added posix_initgroups() function. 2006-06-19 02:19:13 +00:00
Dmitry Stogov
1dbaae2795 Added automatic module globals management 2006-06-15 18:33:09 +00:00
Ilia Alshanetsky
8625b42162 Adjusted credits file so that it appears properly on phpinfo() 2006-04-07 03:41:06 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
foobar
3e669bc950 MFH: nuke php3 legacy 2005-12-06 02:28:41 +00:00
Derick Rethans
703fc059bf - MFH: Fixed initializing and argument checking for posix_mknod(). 2005-11-02 15:53:49 +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
foobar
9518bae116 typo 2005-06-30 13:39:42 +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
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
foobar
ccfc46b0aa - Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +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
Wez Furlong
0141e97052 Make these all work with persistent streams too. 2002-09-25 15:46:47 +00:00
Markus Fischer
b4bcdda57b - Fix ZTS built. 2002-06-04 08:54:14 +00:00
Markus Fischer
8e8f75a864 - Move macro code into distinct function for easier debugging as suggested by
Andi.
2002-06-03 20:52:07 +00:00
Markus Fischer
8060dae548 - Fix isatty() and ttyname() (Closes #17323, #17333). 2002-06-03 15:49:38 +00:00
Markus Fischer
94501132c6 - Fix posix_isatty() and posix_ttyname() (Closes #17323) 2002-05-20 23:26:13 +00:00
Sascha Schumann
3fbbd61dc2 p is set, but never used. 2002-05-04 16:54:13 +00:00
Markus Fischer
a8b633bfa2 - Fix proto. 2002-04-23 22:22:17 +00:00
foobar
c46199f5b9 Do NOT use c++ comments in c code!!!!! 2002-04-13 00:31:55 +00:00
Derick Rethans
a19078870e - Fix defines 2002-04-10 06:22:12 +00:00
Sascha Schumann
5cba3a99c2 extension converted automatically to PHP_NEW_EXTENSION. Manually confirmed 2002-03-12 16:44:00 +00:00
Dan Kalowsky
160fe54bab When #if BLAHING a section, ensure to make it's prototype included. Returns
build capability to MacOSX.
2002-03-06 16:14:00 +00:00
Derick Rethans
2f04af4402 - More ZTS fixes 2002-03-06 11:26:05 +00:00
Markus Fischer
003bb8c2b4 - Introduced posix_errno() (get error number from last error message) and
posix_strerror() (convert error number into error string).

- Do not output any error message if any of the function fails with FALSE
  return value. The proper way now is to call posix_errno() and
  posix_strerror() after encountering an error condition.

- Function not support on a system no longer issue a 'not available' error
  but simply don't exist so we can safely use 'function_exists'.

- Fixed protos.

- Use new parameter parsing API.

- posix_uname() may be aware of 'domainname' (GNU extension)

- posix_getgrnam(), posix_getgrgid(): the returned information does no
  longer contains mixture of string and numbered keys (hash / array)
  but contains key 'member' with an array of all members in a list
  (or an empty array). This breaks BC but is the right thing IMHO.
2002-03-05 16:04:04 +00:00
Sebastian Bergmann
90613d2282 Maintain headers. 2002-02-28 08:29:35 +00:00
Sebastian Bergmann
38933514e1 Update headers. 2001-12-11 15:32:16 +00:00
foobar
f1397d5339 Unified the configure messages. 2001-11-30 19:00:13 +00:00
Derick Rethans
a345d2ce86 - Prototypes 2001-11-08 20:21:01 +00:00
Stig Bakken
689252082c * zend_module_entry change: apino, debug and zts are moved first,
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
2001-10-11 23:33:59 +00:00
Jeroen van Wolffelaar
c033288573 Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know. 2001-09-25 21:58:48 +00:00
Derick Rethans
78747bd2df - Don't wrap lines... this is annoying while coding. 2001-09-09 13:29:31 +00:00
foobar
529b4dca82 Cleanup. (some relics from php3 era?) 2001-08-08 02:02:02 +00:00
Zeev Suraski
d87cc976e1 Redesigned thread safety mechanism - nua nua 2001-07-28 11:36:37 +00:00
Jason Greene
2b8945965b Check for getpgid (torben@php.net) 2001-07-05 22:01:42 +00:00
Sebastian Bergmann
d926e84e5f Change copyright note. 2001-06-19 21:25:53 +00:00
Rasmus Lerdorf
81e2cf03ac Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
Rasmus Lerdorf
25c3a3a39d vim-6 does folding - clean up a bunch of missing folding tags plus
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
2001-06-05 13:12:10 +00:00
Stig Bakken
1beda9ee1e * include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build) 2001-05-24 10:07:29 +00:00
Andi Gutmans
4c823e8a89 - Change macros from V_ to VCWD_ because of AIX name clash 2001-04-30 12:45:02 +00:00
Hartmut Holzgraefe
1f6878e912 2nd step towards auto-credits 2000-11-20 10:33:33 +00:00
Andi Gutmans
d0ec3df288 - Use CHECKUID_* #define's instead of cryptic numbers in php_checkuid()
- I did not test for validity of the actual php_checkuid() calls and there
- might be mistakes in the previous code.
2000-11-02 23:08:07 +00:00
Hartmut Holzgraefe
86f2ad3017 I SHALL NOT TOUCH A RELEASE CANDIDATE!
I SHALL NOT TOUCH A RELEASE CANDIDATE!
I SHALL NOT TOUCH A RELEASE CANDIDATE!
(previous patch reverted)
2000-10-09 15:24:26 +00:00
Hartmut Holzgraefe
bbc37db2f3 added support for GNU-specific domainname field in uname 2000-10-09 15:12:34 +00:00
Andi Gutmans
fb2c23645b - Clean-up original code and add to NEWS. 2000-10-05 18:26:54 +00:00