This is an archive of the discontinued Mercurial Phabricator instance.

rust-chg: move get_umask() call out of run() function
ClosedPublic

Authored by yuja on Apr 11 2020, 7:24 AM.

Details

Summary

run() will be an async function, but get_umask() isn't thread safe.

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.

Event Timeline

yuja created this revision.Apr 11 2020, 7:24 AM
Alphare accepted this revision.Apr 14 2020, 5:08 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.