diff options
author | jh <jh@FreeBSD.org> | 2009-10-16 20:52:45 +0000 |
---|---|---|
committer | jh <jh@FreeBSD.org> | 2009-10-16 20:52:45 +0000 |
commit | f1d2f78466bdc5c7e30380e7b3042632f0f70d1c (patch) | |
tree | 194a09d6c765b4e138d08cb7357ea1356ef37905 /LOCKS | |
parent | 205158c2d7e4e1cde4558ae29461315932de3454 (diff) | |
download | FreeBSD-src-f1d2f78466bdc5c7e30380e7b3042632f0f70d1c.zip FreeBSD-src-f1d2f78466bdc5c7e30380e7b3042632f0f70d1c.tar.gz |
- If lstat()/stat() fails with an error other than ENOENT, don't ignore
the error and assume that the file doesn't exist. Touch could return
success with -c option even if the file existed and time was not set.
- If the first utimes_f() call fails with -A option, give up and don't
continue trying to set times to current time. [1]
- Set exit status to 1 when setting of timestamps fails for a directory
or symbolic link even though lstat()/stat() would succeed.
- Don't print bogus error message when rw() succeeds.
PR: bin/112213
Submitted by: jilles [1]
Reviewed by: jilles
Approved by: trasz (mentor)
Diffstat (limited to 'LOCKS')
0 files changed, 0 insertions, 0 deletions