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
Derick Rethans
78747bd2df
- Don't wrap lines... this is annoying while coding.
2001-09-09 13:29:31 +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
Sascha Schumann
ff5a9de31d
Support for IRIX-style asctime_r/ctime_r.
2001-05-20 21:29:55 +00:00
Sascha Schumann
453b4c7362
Make old readdir_r code compatible with HPUX and Solaris.
2001-04-27 11:14:48 +00:00
Daniel Beulshausen
a37a9db454
fix bug in php_gmtime_r
2001-03-13 11:09:37 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
foobar
e5a997ff59
@- Fixed a bug which made readdir() unusable in some systems. (Jani)
...
# Bug report: #7390
2000-11-28 09:13:22 +00:00
Andrei Zmievski
eb4b5ffd22
(php_readdir_r) Revert that bad patch.
2000-06-12 14:11:39 +00:00
Andrei Zmievski
e008af1364
(php_readdir_r) Last argument to readdir_r was missing.
2000-06-12 13:20:38 +00:00
Zeev Suraski
4a1da8b6f9
Fix Win32 build
2000-06-04 22:00:17 +00:00
Sascha Schumann
8a86e37d69
The behaviour for result == NULL || entry == NULL is undefined.
2000-05-24 14:46:13 +00:00
Sascha Schumann
faf4f764b7
If no further directory exists, php_readdir_r() returns success and sets
...
*result to NULL.
2000-05-24 14:41:28 +00:00
Sascha Schumann
25df65b0b8
Support old-style readdir_r()
2000-05-24 11:06:57 +00:00
Sascha Schumann
ff4031585a
Avoid building two versions of the time-related reentrant functions.
2000-05-24 10:44:57 +00:00
Sascha Schumann
2aaa538aef
Use reentrant version of readdir. If the target platform does not support
...
the POSIX-like readdir_r, we fall back to readdir. In ZTS mode, this will
cause php_readdir_r calls to be serialized.
2000-05-23 15:13:16 +00:00
Zeev Suraski
e043439ff6
Update the license with the new clause 6
2000-05-18 15:34:45 +00:00
Sascha Schumann
f2a236ff83
Missed localtime_r/ctime_r. Prefix them with php
2000-05-04 11:31:58 +00:00
Sascha Schumann
d0f3764ee2
Change reentrancy API to always use the php prefix.
...
Check for the declaration of reentrant functions, so that we can use
them in non-ZTS mode on all platforms.
2000-05-04 10:38:17 +00:00
Zeev Suraski
9d2738cf1d
- Fix crash bug in localtime_r. If locatime() returns NULL then also return
...
NULL
2000-04-24 16:16:45 +00:00
Sascha Schumann
3bfe29fddb
Support HP-UX 10.x non-standard time-related reentrant functions
2000-03-03 16:10:38 +00:00
Zeev Suraski
9b621d1c8f
Get the license right... (this won't make it to RC1 of B4)
2000-02-19 23:21:46 +00:00
Sascha Schumann
43ae2bffbb
Happy Y2K patch! Happy new year (or the new millennium, depending on whether
...
you start counting at 0 or 1).
2000-01-01 01:32:05 +00:00
Sascha Schumann
143b02d8a4
Fix for missing RAND_MAX on SunOS 4.1
1999-12-19 14:27:45 +00:00
Sascha Schumann
cfc7e27a7f
Add PHPAPI for Windows.
1999-11-30 20:46:07 +00:00
Sascha Schumann
3d092da662
unposixfy calls to TSRM
1999-11-26 19:27:08 +00:00
Sascha Schumann
1f9a496601
Define macros only, if one of the locking _r functions is used
1999-11-26 19:09:57 +00:00
Sascha Schumann
ec18b99d86
Fix typo (shutdown -> startup)
1999-11-26 17:37:22 +00:00
Sascha Schumann
524f0b1b0a
- move strtok_r into reentrancy.c
...
- add rand_r()
1999-11-26 17:33:53 +00:00
Sascha Schumann
a64691615a
Add/update copyright headers
1999-11-26 17:12:01 +00:00
Sascha Schumann
35b30a8d0c
Add reentrant versions of ctime, localtime, gmtime, asctime.
...
These cannot be implemented platform-independent, so we fall back to the native
non-reentrant versions, but lock during each access (only if ZTS is used).
To initialize/destroy the used data structures, you need to call
reentrancy_startup() before sapi_startup(), and reentrancy_shutdown() after
sapi_shutdown().
1999-11-26 17:07:41 +00:00