Ilia Alshanetsky
585833ab7e
Fixed proto.
2004-12-30 01:23:44 +00:00
Ilia Alshanetsky
23344ea427
Simplify and cleanup code.
2004-10-27 23:12:05 +00:00
Ilia Alshanetsky
852170d740
Merge gettimeofday() based code to prevent duplication.
2004-10-25 13:28:56 +00:00
Rob Richards
b20d2ba86c
fix windows build
2004-10-22 13:11:33 +00:00
Ilia Alshanetsky
4b947b0525
Allow gettimeofday() return a float if optional argument is specified.
2004-10-21 21:20:52 +00:00
Anantha Kesari H Y
78ecac2569
removed unwanted NEW_LIBC checks as they are no more needed for NETAWRE
2004-09-25 14:54:41 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Andrey Hristov
f083d42581
proto fix
2003-12-17 22:21:05 +00:00
Andrey Hristov
a0e930cff4
Added optional parameter to microtime so now it can return float if it
...
the user wants. This prevents from getting string representation exploding
it and then creating a float.
2003-12-17 22:03:33 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Sebastian Bergmann
b506f5c8f8
Bump year.
2002-12-31 16:08:15 +00:00
Marcus Boerger
6f8bfd148a
make microtime and gettimeofday unavailable instead of return false return
...
false in case needed library function is unavailable.
2002-10-29 23:35:49 +00:00
Anantha Kesari H Y
338332c799
NetWare related changes/modifications
2002-09-06 07:44:30 +00:00
Ilia Alshanetsky
6dbc0e5483
Convert the value of tz_minuteswest inside struct timezone on Windows to
...
minutes from seconds.
2002-08-19 21:59:46 +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
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
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
Stephen van Egmond
7f48c7adf5
Simple patch to deal with lack of fields in the BeOS implementation of rusage.
2001-03-23 04:36:29 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
James Moore
712f09d2a8
Always return a value even if HAVE_GETTIMEOFDAY is not set
2001-02-04 16:18:36 +00:00
Andi Gutmans
3701bc4207
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
2000-06-05 19:47:54 +00:00
Hartmut Holzgraefe
fb39eda0d8
a second (cleaner?) try on warnings about unsupported functions
2000-05-27 19:27:20 +00:00
Andi Gutmans
afccb58612
- I'm not sure if PHP_NOT_IN_THIS_BUILD is the way to handle these
...
- functions but in any case I have changed it to PHP_NOT_IN_THIS_BUILD()
2000-05-27 18:55:11 +00:00
Hartmut Holzgraefe
69d1e788c0
if a module provides a function it should also do so if the function
...
is not functional due to configure findings
the function should offer a meaningful warning if it is not supported
instead of just beeing undefined
i had already changed this in 'gd', now this is doing it for 'standard'
2000-05-26 17:04:02 +00:00
Zeev Suraski
e043439ff6
Update the license with the new clause 6
2000-05-18 15:34:45 +00:00
Sascha Schumann
caeaaf4d98
Fix build on systems which lack snprintf or vsnprintf.
...
PR: #3786
2000-03-12 15:47:34 +00:00
Zeev Suraski
bf5cb890b0
- Convert 'PHP3' to 'PHP'
...
- Avoid declaring crypt() related salt types twice
2000-02-26 03:20:55 +00:00
Egon Schmid
fe615efb5c
More protos.
2000-02-24 08:39:02 +00:00
Stig Bakken
b275477b76
(PHP getrusage) don't define this function at all if the getrusage() function
...
is not available on the system.
2000-02-23 21:37:43 +00:00
Sascha Schumann
027512320f
Include <sys/types.h> and <sys/time.h> before <sys/resource.h>
2000-02-23 17:39:58 +00:00
Sascha Schumann
53e1ea7728
php.h should be the first file included, so that HAVE_* are defined
2000-02-23 15:44:02 +00:00
Sascha Schumann
21ca719293
Include <sys/resource.h> for getrusage(2)
...
PR: #3479
2000-02-23 14:13:34 +00:00
Zeev Suraski
86fa2aade2
the pipe is breaking all the time
2000-02-19 23:41:32 +00:00
Zeev Suraski
80bdd19e03
Fine tune Andi's patch
2000-02-11 15:59:30 +00:00
Andi Gutmans
29280bb9ec
- Get rid of some more evil MSVC5's and switch standard/ to use PHP_WIN32
2000-02-10 21:53:56 +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
Zeev Suraski
a1ad2872ee
- The tree compiles again
1999-12-18 22:40:35 +00:00
Sascha Schumann
7a1fff1441
Use new Zend API.
1999-09-24 19:35:25 +00:00
Sascha Schumann
240d17f12f
Fix typo.
...
catched by: ssb
1999-09-21 08:41:31 +00:00
Sascha Schumann
cf00d75980
On at least Win32, gettimeofday() returns values in tv_usec which exceed
...
1,000,000.
For portability reasons we set the integer part of our result to 0.
This is equivalent to using tv_usec % 1000000.
1999-09-21 08:22:33 +00:00
Zeev Suraski
c5724cbd14
License update
1999-07-16 13:13:16 +00:00
Stig Bakken
117a2fba07
* fixed some #if/#ifdef issues
...
* hand-patched in php3 changes from 3.0.6 to HEAD in these files:
fopen-wrappers.[ch] ext/standard/file.[ch] ext/standard/fsock.[ch]
ext/standard/php3_string.h ext/standard/string.c
* added some new file/socket macros for more readable code:
FP_FGETS(buf,len,sock,fp,issock)
FP_FREAD(buf,len,sock,fp,issock)
FP_FEOF(sock,fp,issock)
FP_FGETC(sock,fp,issock)
1999-06-16 17:06:53 +00:00
Sascha Schumann
4fe8fe715e
merge in some PHP3 stuff
1999-05-21 08:37:48 +00:00
Sascha Schumann
39691bed9e
conv_proto *.[ch]
1999-05-16 11:19:26 +00:00
Zeev Suraski
0818d96c97
A lot of cleanups... Removed old thread-safe code and other redundant code and files
1999-04-24 00:12:00 +00:00
Zeev Suraski
6f7c0edee3
Remove tls.[ch]
1999-04-23 20:06:01 +00:00
Stig Bakken
257de2bade
First commit of re-structuring phase one. We have started using automake in
...
sub-directories and started to move extension code into ext/<name>. For now,
I have moved the "standard" extension (which is quite a mix of everything
right now) and the GD extension into their own subdirs in ext/.
The configure script now also runs configure in the libzend directory
automatically and makes sure php4 and libzend use the same config.cache file.
To avoid running configure in libzend, use the --no-recursion option.
"make" in php4 also builds libzend now.
The Apache module doesn't compile right now, but a fix for that is
coming up.
1999-04-17 00:37:12 +00:00