aboutsummaryrefslogtreecommitdiff
path: root/doc/doxyout/hx509/man/man3
diff options
context:
space:
mode:
authorAymeric Wibo <obiwac@FreeBSD.org>2026-02-04 20:58:13 +0000
committerAymeric Wibo <obiwac@FreeBSD.org>2026-02-05 11:16:06 +0000
commitb8d55a86995b5a8db5d1651c8dc9fc5093b67d2c (patch)
tree3b1d0ad93a64e14bd4d4150ada5ad40e866ea3e2 /doc/doxyout/hx509/man/man3
parentcc702c78f70f972cf2f8ea008752d96df1989988 (diff)
touch: Fix setting time of created file if fstat() failsHEADmain
Previously, if creating the file and fstat() fails, we would've ended up calling utimensat() on that file anyways with whatever was in sb. Not that this is an error likely to happen... We don't check for the return value of close() as we aren't writing anything to the file and the file is always created on success of open(). Reviewed by: kevans Approved by: kevans Fixes: cb54c500d0e1 ("touch: don't leak descriptor if fstat(2) fails") Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D55117 MFC after: 1 week
Diffstat (limited to 'doc/doxyout/hx509/man/man3')
0 files changed, 0 insertions, 0 deletions