Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jan 2007 16:00:31 GMT
From:      Ricardo Nabinger Sanchez <rnsanchez@wait4.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/107676: file -p does not work
Message-ID:  <200701081600.l08G0Vbu043272@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/107676; it has been noted by GNATS.

From: Ricardo Nabinger Sanchez <rnsanchez@wait4.org>
To: "Dr. Markus Waldeck" <waldeck@gmx.de>
Cc: freebsd-gnats-submit@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@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."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701081600.l08G0Vbu043272>