bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] libnetfs file-utimes.c unnecessary computations


From: Samuel Thibault
Subject: Re: [PATCH] libnetfs file-utimes.c unnecessary computations
Date: Tue, 1 Jul 2008 23:41:46 +0100
User-agent: Mutt/1.5.12-2006-07-14

Flávio Cruz, le Tue 01 Jul 2008 22:34:03 +0000, a écrit :
> In file-utimes.c the port existence is only verified after some
> computations on the atime and mtime timespec's are done. That is
> unnecessary when we exit with EOPNOTSUPP.

Mmm, does that happen often?  The good thing in the current code is that
the check is done right next to the the code that dereferences the
pointer.

Samuel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]