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 Passed - Unit
No Test Coverage - Build Status
Buildable 18663 Build 18348: arc lint + arc unit
Event Timeline
sbin/ldconfig/ldconfig.c | ||
---|---|---|
522 | This comment really marks both unlink() and rename() calls and could be preserved. It is arguably not too useful. |