* environ.cc: Set reset_com to false to mimic linux behavior more closely.

This commit is contained in:
Christopher Faylor 2001-10-31 16:30:46 +00:00
parent 928eca7a58
commit 747e577331
3 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-10-31 Christopher Faylor <cgf@redhat.com>
* environ.cc: Set reset_com to false to mimic linux behavior more
closely.
2001-10-31 Corinna Vinschen <corinna@vinschen.de>
* dtable.cc (dtable::vfork_child_dup): Revert impersonation

View File

@ -36,7 +36,7 @@ extern BOOL allow_winsymlinks;
extern BOOL strip_title_path;
extern int pcheck_case;
extern int subauth_id;
BOOL reset_com = TRUE;
BOOL reset_com = FALSE;
static BOOL envcache = TRUE;
static char **lastenviron;

View File

@ -1068,6 +1068,7 @@ signal_exit (int rc)
causes random, inexplicable hangs. So, instead, we set up the priority
of this thread really high so that it should do its thing and then exit. */
(void) SetThreadPriority (GetCurrentThread (), THREAD_PRIORITY_TIME_CRITICAL);
(void) SetThreadPriority (hMainThread, THREAD_PRIORITY_IDLE);
/* Unlock any main thread mutos since we're executing with prejudice. */
muto *m;