mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 04:49:25 +08:00
* 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:
parent
85f96eabae
commit
4f7831c1f5
@ -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>
|
Sun Mar 19 12:01:00 2000 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* syscalls.cc (stat_worker): Set st_nlink to 1 on remote drives.
|
* syscalls.cc (stat_worker): Set st_nlink to 1 on remote drives.
|
||||||
|
@ -149,7 +149,7 @@ host_dependent_constants NO_COPY host_dependent;
|
|||||||
/* Constructor for host_dependent_constants. */
|
/* Constructor for host_dependent_constants. */
|
||||||
|
|
||||||
void
|
void
|
||||||
host_dependent_constants::init (void)
|
host_dependent_constants::init ()
|
||||||
{
|
{
|
||||||
/* fhandler_disk_file::lock needs a platform specific upper word
|
/* fhandler_disk_file::lock needs a platform specific upper word
|
||||||
value for locking entire files.
|
value for locking entire files.
|
||||||
|
@ -41,6 +41,8 @@ static win_env conv_envvars[] =
|
|||||||
return_MAX_PATH, return_MAX_PATH},
|
return_MAX_PATH, return_MAX_PATH},
|
||||||
{"LD_LIBRARY_PATH=", 16, NULL, NULL, cygwin_conv_to_full_posix_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},
|
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}
|
{NULL, 0, NULL, NULL, NULL, NULL, 0, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -532,8 +532,11 @@ proc_terminate (void)
|
|||||||
* non-raceable manner.
|
* non-raceable manner.
|
||||||
*/
|
*/
|
||||||
muto *m = sync_proc_subproc;
|
muto *m = sync_proc_subproc;
|
||||||
sync_proc_subproc = NULL;
|
if (m)
|
||||||
delete m;
|
{
|
||||||
|
sync_proc_subproc = NULL;
|
||||||
|
delete m;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
sip_printf ("leaving");
|
sip_printf ("leaving");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user