comparison mercurial/osutil.c @ 28770:97c8da2f89f9

chgserver: change random state after fork Before this patch, extensions expecting a different random state per command will break since the chg request handler will inherit a same random state from the parent daemon process. This patch addresses the issue by calling random.seed() after fork.
author Jun Wu <quark@fb.com>
date Mon, 04 Apr 2016 01:59:57 +0100
parents e60c492a0d9b
children 301ef65e8ebb
comparison
equal deleted inserted replaced
28769:222f482930c8 28770:97c8da2f89f9