Make ldconfig(8) atomic, by removing an unneccessary call to unlink(2)
before rename(2).
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sbin/ldconfig/ldconfig.c | ||
---|---|---|
522 ↗ | (On Diff #46456) | This comment really marks both unlink() and rename() calls and could be preserved. It is arguably not too useful. |