Re: [KERNEL] VFS 64-bit clean

H. Peter Anvin (hpa@transmeta.com)
20 Feb 1998 06:49:41 GMT


Followup to: <19980220003039.45911@cyprus>
By author: Chip Salzenberg <chip@atlantic.net>
In newsgroup: linux.dev.kernel
> > >
> > > 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.
>
> They're not. The kernel code that takes a signed time_t and stores it
> in ext2fs should forbid the assignment of signed values. That's
> because ext2fs is *not* defined with signed time_t values. Maybe you
> think it should be, but it isn't.
>

As I said in the next sentence: if there is a bug, it is in the ext2fs
kernel code, not in touch and stat.

-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