, there it refers
the first day of month 'mon' and mktime(hour,min,sec,
year,-1,mon) refers the last day of month 'mon-1'.
See the test:
[aragorn:~/Downloads] dieter% cat A.c
#include stdio.h
#include time.h
main()
{
struct tm mytm;
int i;
mytm.tm_sec = 0; mytm.tm_min
IL PROTECTED]
On PHP documantation:
mktime(hour,min,sec, year,0,mon) refers the last day of
month 'mon-1'. On MacOS X this failed, there it refers
the first day of month 'mon' and mktime(hour,min,sec,
year,-1,mon) refers the last day of month 'mon-1'.
See the test:
[aragorn:~/Downlo
P documantation:
mktime(hour,min,sec, year,0,mon) refers the last day of
month 'mon-1'. On MacOS X this failed, there it refers
the first day of month 'mon' and mktime(hour,min,sec,
year,-1,mon) refers the last day of month 'mon-1'.
See the test:
[aragorn:~/Downloads] dieter% cat A.c
From: [EMAIL PROTECTED]
Operating system: MacOS X 10.0.2 (Darwin)
PHP version: 4.0.5
PHP Bug Type: Date/time related
Bug description: Bug in mktime() on values out of bounds
see Bug id #8828, too!
On PHP documantation:
mktime(hour,min,sec, year,0,mon) refers the last day
values for each field...
Whats the problem? You are using an undocumented feature
and all other UNIX work in the same way. But it is not
safe!
Dieter
Previous Comments:
---
[2001-05-14 14:27:59] [EMAIL PROTECTED
-11 14:28:32] [EMAIL PROTECTED]
you can use Darwin/Intel (see: http://www.darwinfo.de), if
Sorry. Informations about Darwin you can find on:
- http://www.darwinfo.org/
- http://www.apple.com/darwin/
Dieter
[2001
://www.apple.com/darwin/
Dieter
[2001-06-09 07:38:48] [EMAIL PROTECTED]
Von: Trevis Tagawa [EMAIL PROTECTED]
Datum: Sam, 09. Jun. 2001 01:12:46 Europe/Berlin
An: [EMAIL PROTECTED]
Betreff: Thanks!
just wanted to extend
-Ursprngliche Nachricht-
Von: Bug Database [mailto:[EMAIL PROTECTED]]
Gesendet am: Donnerstag, 25. Januar 2001 02:10
An: Ferdinand, Dieter
Betreff: PHP 4.0 Bug #8877 Updated: symbol not defined (used by
ucd-snmp)
ID: 8877
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status
.
please excuse me my mistake.
but the problem with the missing symbol from libgcc when i compile with apxs
is still available.
goodby
-Ursprngliche Nachricht-
Von: Bug Database [mailto:[EMAIL PROTECTED]]
Gesendet am: Donnerstag, 25. Januar 2001 01:28
An: Ferdinand, Dieter
Betreff: PHP 4.0
-Ursprngliche Nachricht-
Von: Bug Database [mailto:[EMAIL PROTECTED]]
Gesendet am: Freitag, 26. Januar 2001 08:27
An: Ferdinand, Dieter
Betreff: PHP 4.0 Bug #8878 Updated: symbol not defined (load
php4-module)
ID: 8878
Updated by: rasmus
Reported By: [EMAIL PROTECTED]
Old-Status: Closed
Status
[mailto:[EMAIL PROTECTED]]
Gesendet am: Freitag, 26. Januar 2001 06:54
An: Ferdinand, Dieter
Betreff: PHP 4.0 Bug #8878 Updated: symbol not defined (load
php4-module)
ID: 8878
Updated by: rasmus
Reported By: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Closed
Bug Type: Apache related
Assigned
11 matches
Mail list logo