bin/107676: [patch] file(1): file -p does not work

gavin at FreeBSD.org gavin at FreeBSD.org
Tue Jan 29 13:50:36 UTC 2008


Synopsis: [patch] file(1): file -p does not work

State-Changed-From-To: feedback->analyzed
State-Changed-By: gavin
State-Changed-When: Tue Jan 29 13:49:01 UTC 2008
State-Changed-Why: 
I can confirm that the patch in the PR fixes the problem.  The issue is
that tv_usec in the timeval struct contains random junk, and if that
junk falls outside of the 0 - 999999 range, utimes() fails.

Note that on FreeBSD, we use utimes(), so I haven't verified that the
second half of the PR (that deals with systems missing utimes()) is
correct.

http://www.freebsd.org/cgi/query-pr.cgi?pr=107676


More information about the freebsd-bugs mailing list