To reproduce the bug:
$ touch foo
$ ls -l foo
-rw-r--r-- 1 bing root 0 Jan 1 1970 foo
Debugging using rpctrace:
$ rpctrace ./touch foo
.
.
154->file_utimes ({16887847 16887048} {45872 0}) = 0
.
.
$ stat -c%X foo [show atime as time_t]
16887847
$ stat -c%Y foo [show mtime as time_t]
45872
Ment
Thomas Schwinge <[EMAIL PROTECTED]> writes:
> Before I start digging deeper: can someone imaging offhand why `touch'
> broke?
Thanks for the report. Which version of 'touch'? The email didn't
say. Is this CVS coreutils or some other version?
> [EMAIL PROTECTED]:/var/tmp/coreutils/build $ src/
On Thu, Jul 20, 2006 at 08:41:02AM -0700, Paul Eggert wrote:
> Thomas Schwinge <[EMAIL PROTECTED]> writes:
>
> > Before I start digging deeper: can someone imaging offhand why `touch'
> > broke?
>
> Thanks for the report. Which version of 'touch'? The email didn't
> say. Is this CVS coreutils
Thomas Schwinge <[EMAIL PROTECTED]> wrote:
> Hello!
>
> Before I start digging deeper: can someone imaging offhand why `touch'
> broke?
>
> #v+
> [EMAIL PROTECTED]:/var/tmp/coreutils/build $ src/touch foo
> [EMAIL PROTECTED]:/var/tmp/coreutils/build $ ls -l foo
> -rw-r--r-- 1 thomas users 0 Jan 1
Hello!
Before I start digging deeper: can someone imaging offhand why `touch'
broke?
#v+
[EMAIL PROTECTED]:/var/tmp/coreutils/build $ src/touch foo
[EMAIL PROTECTED]:/var/tmp/coreutils/build $ ls -l foo
-rw-r--r-- 1 thomas users 0 Jan 1 1970 foo
[EMAIL PROTECTED]:/var/tmp/coreutils/build $ unam