LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 03-18-2006, 01:39 AM   #1
Growlor
LQ Newbie
 
Registered: Aug 2004
Location: Toledo, OH USA
Distribution: Mandrake
Posts: 4

Rep: Reputation: 0
Y2K like issue on 1/1/2010?


All,

I was recently reminded that a Y2K like date was supposed to be sneaking-up on us when some dumb kid mentioned "What a hoax all that Y2K stuff was." As a veteran of all the hard work that kept major problems from happening, I promptly reprimanded him for the remark.
However it did remind me that I had meant to follow-up on something I had seen mentioned but didn't understand its full implications:
Do the ANSI C libraries really overflow on 1/1/2010 and if so, were any of the components of current Linux (or heck even UNIX, OSX or Windows) compiled with these? If so, this might get really ugly (it is pretty easy to sift through Cobol code and look for date strings, but trying to find out whether your mission-critical OS or app was compiled with a certain version of a standard library doesn't sound easy.)
I am really hoping that these libraries were replaced/upgraded/patched/etc a long time ago.


Thanks,
Growlor
 
Old 03-18-2006, 03:22 PM   #2
aldimeneira
Member
 
Registered: Jun 2005
Distribution: Ubuntu
Posts: 132

Rep: Reputation: 15
There's no issue in 2010, but there's a 2038 bug: http://www.2038bug.com/faq.html
 
Old 03-18-2006, 04:22 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Moved: This thread is more suitable in General and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 03-18-2006, 11:29 PM   #4
Growlor
LQ Newbie
 
Registered: Aug 2004
Location: Toledo, OH USA
Distribution: Mandrake
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks Xavier-I misunderstood the sticky

and posted in Linux -> General by mistake.


Aldimeneira, are you sure? I really hope you are correct, but do a quick Web search for
"Overflow ANSI C library" Y2K
and you'll find several references to the date I mentioned. The reason I am not sure if its true or not is they all look like copies of the same thing. So its possible the guy who created that just goofed-up and a bunch of people copied him. I am hoping someone knows for sure if this is an issue or just an error that got copied.

Thanks,
Growlor
 
Old 03-19-2006, 01:17 AM   #5
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
ANSI C is a standard, not an implementation. There are many C libraries in existence that conform to the ANSI C specification (either the old version done sometime in the late '80s or the newer C99). Even if one library had some date overflow problem, there's no reason why any of the others would. I did a Google and one of the pages listing that problem reports it as "very dubious."

Most of the Unix C libraries (glibc etc.) expect the standard Unix way of tracking time (seconds from midnight UTC on Jan 1, 1970). As mentioned above, this date is good through 2038 if time_t is represented as a 32 bit signed integer. Systems with 64 bit time_ts are good for much, much longer (longer than the expected lifespan of the universe IIRC).
 
Old 03-19-2006, 09:17 AM   #6
celticgeek
Member
 
Registered: Jul 2005
Location: Lothlorien
Distribution: CentOS 4.4, currently
Posts: 30

Rep: Reputation: 15
Some information on this topic (not the 2010 one):

http://computer.howstuffworks.com/question75.htm

It makes some comments about Windows and Mac systems, too.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
install Samsung ML-2010 laser printer songqsh Debian 3 02-20-2006 08:25 PM
install samsung ML-2010 printer songqsh Linux - Hardware 0 02-19-2006 10:22 PM
LQ.org from Y2K, and other ancient websites smith847be General 2 05-31-2004 01:20 PM
printing to y2k pro pronter juanb Linux - Newbie 0 08-10-2003 08:23 AM
printing from red hat to y2k juanb Linux - Newbie 1 08-06-2003 09:09 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 03:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration