It's good practice to close file descriptors when forking to start a daemon.
This did not appear to happen yet, which results in flock hanging
in one location in our system (because the chg daemon keeps
the locked file open).
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG8711dc13474c: chg: close file descriptors when starting the daemon
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.