FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Bday code incapable of recording dates before 1969
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Bday code incapable of recording dates before 1969 [message #3035 is a reply to message #3031] Fri, 07 June 2002 21:47 Go to previous messageGo to previous message
hackie is currently offline  hackie   Canada
Messages: 177
Registered: January 2002
Karma:
Senior Member
Core Developer

Well, the problem is that I'm unable to replicate the bug here :).. You try it here? I've entered my bday as 1950 and it worked fine, that is obviously well before the epoh.

Trying this:
<?
echo date("Y", mktime(1,1,1,1,1,1920))."\n";
?>

:
on my computer which is linux-2.4.18 with glibc 2.2.4 produces:

1920

so it seems to work fine, the limits appear to be 1902-2039.
The same behavior was also observed by me on FreeBSD 3.3.


cc intelligence.c -o intelligence
$ ./intelligence
Segmentation fault

[Updated on: Fri, 07 June 2002 21:47]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Login problem using IE in FUD 1.2.4
Next Topic: Typo in moderator options FUD 2.0 RC6
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 11:26:15 GMT 2024

Total time taken to generate the page: 0.06102 seconds