Messages in this thread | | | From | (H. Peter Anvin) | Subject | Re: VFS 64-bit clean | Date | 20 Feb 1998 02:23:47 GMT |
| |
Followup to: <199802191354.IAA10259@cyprus.atlantic.net> By author: chip@atlantic.net In newsgroup: linux.dev.kernel > > Yes. > > > khms# touch -d 1950-01-01 bla > > khms# ls -laFtr bla > > -rw-r--r-- 1 root root 0 Jan 1 1950 bla > > > > I don't think so. > > You've mistaken errors in touch and ctime() for ext2fs problems. >
Nope. time_t is defined as signed, and touch and ctime() are doing exactly the right thing. If there is an error, it is in the ext2 kernel code. Having a signed time_t is a Good Thing[TM], especially since once expanded to 64 bits it can pretty much represent all of time; if it was unsigned it would be limited to 1970 and after.
-hpa
-- PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74 See http://www.zytor.com/~hpa/ for web page and full PGP public key I am Bahá'í -- ask me about it or see http://www.bahai.org/ "To love another person is to see the face of God." -- Les Misérables
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |