mirror of
https://github.com/opnsense/src.git
synced 2026-02-15 08:38:13 -05:00
If fstat(2) fails the close(2) won't be called, which will leak the file descriptor. The idea was borrowed from OpenBSD, where similar patch was applied for futimens(2). MFC after: 1 week |
||
|---|---|---|
| .. | ||
| Makefile | ||
| Makefile.depend | ||
| touch.1 | ||
| touch.c | ||