On 01/17/2015 01:53 PM, Rob Landley wrote:
> On 01/17/2015 12:09 AM, enh wrote:
> So anyway I checked that in, and now I'm porting your patch on top of
> that change and I hit the _weirdest_ thing where "./touch nonexistent"
> doesn't cause an error because utimensat() on a file that didn't exist
> returned ok (file still doesn't exist afterwards),

Because if both timestamps have nanoseconds set to UTIME_OMIT it returns
success even if the file did not exist.

Possibly the man page should mention that.

> and when it does this its argument variable becomes NULL

Was debugging debris (bug introduced by adding debugging code).

Rob
_______________________________________________
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to