Date: Tue, 29 Jan 2008 13:50:35 GMT From: gavin@FreeBSD.org To: waldeck@gmx.de, gavin@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/107676: [patch] file(1): file -p does not work Message-ID: <200801291350.m0TDoZ5f049197@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801291350.m0TDoZ5f049197>