diff options
author | Christopher Faylor <me@cgf.cx> | 2004-06-02 21:20:54 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-06-02 21:20:54 +0000 |
commit | 1a21f33188bf4530967c644e0e540b6b7db09c1d (patch) | |
tree | 00365e98d11979d42185c9d83ccdf15f3cf7eb2d /winsup/cygwin/cygheap.cc | |
parent | 8b57e664af6cedcbd20a5f4c37ee364b5e13e97a (diff) | |
download | newlib-1a21f33188bf4530967c644e0e540b6b7db09c1d.zip newlib-1a21f33188bf4530967c644e0e540b6b7db09c1d.tar.gz newlib-1a21f33188bf4530967c644e0e540b6b7db09c1d.tar.bz2 |
* spawn.cc (find_exec): Use has_slash to determine if path has a slash rather
than calculating this twice.
Diffstat (limited to 'winsup/cygwin/cygheap.cc')
-rw-r--r-- | winsup/cygwin/cygheap.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/cygheap.cc b/winsup/cygwin/cygheap.cc index f5a9909..6a6aa19 100644 --- a/winsup/cygwin/cygheap.cc +++ b/winsup/cygwin/cygheap.cc @@ -369,7 +369,12 @@ cmalloc (cygheap_types x, DWORD n) MALLOC_CHECK; c = (cygheap_entry *) _cmalloc (sizeof_cygheap (n)); if (!c) - system_printf ("cmalloc returned NULL"); + { + system_printf ("cmalloc returned NULL"); +#ifdef DEBUGGING + try_to_debug (); +#endif + } return creturn (x, c, n); } |