* environ.cc: Add TMPDIR to the list of environment variables which are

converted to POSIX format.
* sigproc.cc (proc_terminate): Don't attempt to delete when a muto pointer is
NULL.
This commit is contained in:
Christopher Faylor 2000-03-25 05:25:27 +00:00
parent 85f96eabae
commit 4f7831c1f5
4 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,10 @@
Sat Mar 25 00:22:32 2000 Christopher Faylor <cgf@cygnus.com>
* environ.cc: Add TMPDIR to the list of environment variables which are
converted to POSIX format.
* sigproc.cc (proc_terminate): Don't attempt to delete when a muto
pointer is NULL.
Sun Mar 19 12:01:00 2000 Corinna Vinschen <corinna@vinschen.de>
* syscalls.cc (stat_worker): Set st_nlink to 1 on remote drives.

View File

@ -149,7 +149,7 @@ host_dependent_constants NO_COPY host_dependent;
/* Constructor for host_dependent_constants. */
void
host_dependent_constants::init (void)
host_dependent_constants::init ()
{
/* fhandler_disk_file::lock needs a platform specific upper word
value for locking entire files.

View File

@ -41,6 +41,8 @@ static win_env conv_envvars[] =
return_MAX_PATH, return_MAX_PATH},
{"LD_LIBRARY_PATH=", 16, NULL, NULL, cygwin_conv_to_full_posix_path,
cygwin_conv_to_full_win32_path, return_MAX_PATH, return_MAX_PATH},
{"TMPDIR=", 7, NULL, NULL, cygwin_conv_to_full_posix_path, cygwin_conv_to_full_win32_path,
return_MAX_PATH, return_MAX_PATH},
{NULL, 0, NULL, NULL, NULL, NULL, 0, 0}
};

View File

@ -532,8 +532,11 @@ proc_terminate (void)
* non-raceable manner.
*/
muto *m = sync_proc_subproc;
sync_proc_subproc = NULL;
delete m;
if (m)
{
sync_proc_subproc = NULL;
delete m;
}
}
sip_printf ("leaving");
}