bin/107676: file -p does not work
Ricardo Nabinger Sanchez
rnsanchez at wait4.org
Mon Jan 8 08:00:32 PST 2007
The following reply was made to PR bin/107676; it has been noted by GNATS.
From: Ricardo Nabinger Sanchez <rnsanchez at wait4.org>
To: "Dr. Markus Waldeck" <waldeck at gmx.de>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: bin/107676: file -p does not work
Date: Mon, 8 Jan 2007 13:53:35 -0200
On Mon, 8 Jan 2007 13:45:01 GMT
"Dr. Markus Waldeck" <waldeck at gmx.de> wrote:
> >Description:
> The option "-p" does not work because the utimes system call fails.
>
> ktrace:
> 28598 file CALL utimes(0xbfbfed78,0xbfbfe6d0)
> 28598 file RET utimes -1 errno 22 Invalid argument
>
> truss:
> utimes("FILENAME",{1168184675.-1077942524, 1166372455.000001}) ERR#22
> 'Invalid argument'
Also happens on 6.1-RELEASE i386:
% truss file - p main.c
...
lstat("main.c",0xbfbee200) = 0 (0x0)
open("main.c",0x0,027757561000) = 3 (0x3)
read(0x3,0xbfbee260,0x10000) = 6455 (0x1937)
break(0x8051000) = 0 (0x0)
lseek(3,0x0,SEEK_SET) = 0 (0x0)
close(3) = 0 (0x0)
utimes("main.c",{1168271467 -1077943672}) ERR#22 'Invalid argument'
...
--
Ricardo Nabinger Sanchez <rnsanchez@{gmail.com,wait4.org}>
Powered by FreeBSD
"Left to themselves, things tend to go from bad to worse."
More information about the freebsd-bugs
mailing list