http://bugs.grommit.com/show_bug.cgi?id=594
Summary: ksh93 and Solaris disagree on meaning of negative timestamps Product: ksh93-integration Version: unspecified Platform: i386 (64bit/AMD64) OS/Version: Solaris 11/Nevada Status: NEW Severity: minor Priority: P4 Component: App/ksh93 AssignedTo: ksh93-integration-discuss at opensolaris.org ReportedBy: Alan.Coopersmith at sun.com As mentioned in bug 593, I've been reproducing the bug with VMWare having it's clock set to -1 at boot. I've noticed that when files get a pre-epoch timestamp, Solaris thinks they're from 1969, but ksh93 claims they're from the far future: root at alf:/# touch -t 196907202017.40 /tmp/eagle root at alf:/# ls -l /tmp/eagle -rw-r--r-- 1 root root 0 Jul 20 1969 /tmp/eagle root at alf:/# stat /tmp/eagle File: `/tmp/eagle' Size: 0 Blocks: 0 IO Block: 4096 regular empty file Device: 5300002h/87031810d Inode: 2701384812 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 1969-07-20 20:17:40.000000000 -0700 Modify: 1969-07-20 20:17:40.000000000 -0700 Change: 2008-12-18 21:10:41.535521036 -0800 root at alf:/# builtin date root at alf:/# date -c /tmp/eagle Thu Dec 18 21:10:41 PST 2008 root at alf:/# date -m /tmp/eagle Thu Feb 7 18:52:13 PST 2554 root at alf:/# date -a /tmp/eagle Thu Feb 7 18:52:13 PST 2554 root at alf:/# ksh93 --version version sh (AT&T Research) 93t 2008-11-04 root at alf:/# uname -a SunOS alf 5.11 snv_101 i86pc i386 i86pc -- Configure bugmail: http://bugs.grommit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.