Commit Graph

102 Commits

Author SHA1 Message Date
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