[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: invalid date from date -d 1969-12-31



----- Forwarded message from "John H. Robinson, IV"  -----

Date: Tue, 28 Jan 2003 22:50:38 -0800
From: "John H. Robinson, IV" 
Subject: Re: invalid date from date -d 1969-12-31
To: kplug-list@kernel-panic.org
Reply-to: kplug-list@kernel-panic.org

George Georgalis wrote:
> 
> $ date --version
> date (GNU sh-utils) 2.0.11
> Written by David MacKenzie.
> 
> but maybe it's the kernel that's been fixed, I know there has been some
> clock work (duh) but I don't even remember what it was about or when
> (like I said duuuh). in any event I'm getting pre 1970 dates with kernel
> 2.4.20.

it is the libc.

bin/bash-2.05b# ls -l /lib/libc.so.6     
lrwxrwxrwx    1 root     root           13 Jan 29 06:35 /lib/libc.so.6 -> libc-2.3.1.so
bin/bash-2.05b# /tmp/date --version | head -3;/tmp/date -d 1905-04-03
date (GNU sh-utils) 2.0.11
Written by David MacKenzie.

/tmp/date: invalid date `1905-04-03'

[jaqque@athena:~]% ls -l /lib/libc.so.6
lrwxrwxrwx    1 root     root           13 Oct  5 12:02 /lib/libc.so.6 -> libc-2.2.5.so
[jaqque@athena:~]% date --version | head -3 ; date -d 1905-04-03 
date (GNU sh-utils) 2.0.11
Written by David MacKenzie.

Mon Apr  3 00:00:00 PST 1905

-john

-- 
  http://www.kernel-panic.org
  list archives http://www.ultraviolet.org
  To unsubscribe, send a message to the address shown in the list-unsubscribe
  header of this message.


----- End forwarded message -----

-- 
GEORGE GEORGALIS, System Admin/Architect    cell: 347-451-8229 
Security Services, Web, Mail,            mailto:george@galis.org 
Multimedia, DB, DNS and Metrics.       http://www.galis.org/george 



Reply to: