]> sourceware.org Git - newlib-cygwin.git/commitdiff
* environ.cc: Add TMPDIR to the list of environment variables which are
authorChristopher Faylor <me@cgf.cx>
Sat, 25 Mar 2000 05:25:27 +0000 (05:25 +0000)
committerChristopher Faylor <me@cgf.cx>
Sat, 25 Mar 2000 05:25:27 +0000 (05:25 +0000)
converted to POSIX format.
* sigproc.cc (proc_terminate): Don't attempt to delete when a muto pointer is
NULL.

winsup/cygwin/ChangeLog
winsup/cygwin/dcrt0.cc
winsup/cygwin/environ.cc
winsup/cygwin/sigproc.cc

index 1508dee879b3bedaec795bf60f7dc86cebbb8f78..ebaefe9468e8d95fa38a956cbf049fb2ae3a0788 100644 (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.
index b9e2225d96e25fd634741d38e3e3a81a9d575cf3..b05b215e8542bcdc43c37f36855d94b87a61442c 100644 (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.
index ba3120fe3761d8c699770742cb185ec759f3fa19..b09fe90e904fd6e3324dd6ff356624916356dd88 100644 (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}
   };
 
index bb6be1237e4d048294e3e87ba6a262f1cdd8072c..a9f7c17ac75846d9918c4ad4ba30d8bf57077397 100644 (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");
 }
This page took 0.036384 seconds and 5 git commands to generate.