* pinfo.cc (pinfo::init): Reverse order of setting status and pid info in an
execed process to avoid a race. * sigproc.cc (wait_subproc): Print more info when a WFSO error occurs. * automode.c: New file. * syscalls.cc (close_all_files): Streamline slightly. * cygheap.cc (ccalloc): Clear *entire* allocated array.
This commit is contained in:
@@ -20,8 +20,7 @@ class dtable
|
||||
public:
|
||||
size_t size;
|
||||
|
||||
dtable ()
|
||||
: first_fd_for_open(3), cnt_need_fixup_before(0) {}
|
||||
dtable () : first_fd_for_open(3), cnt_need_fixup_before(0) {}
|
||||
|
||||
void dec_need_fixup_before ()
|
||||
{ if (cnt_need_fixup_before > 0) --cnt_need_fixup_before; }
|
||||
|
Reference in New Issue
Block a user