From 1a21f33188bf4530967c644e0e540b6b7db09c1d Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 2 Jun 2004 21:20:54 +0000 Subject: * spawn.cc (find_exec): Use has_slash to determine if path has a slash rather than calculating this twice. --- winsup/cygwin/cygheap.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'winsup/cygwin/cygheap.cc') diff --git a/winsup/cygwin/cygheap.cc b/winsup/cygwin/cygheap.cc index f5a990955..6a6aa19a5 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); } -- cgit v1.2.3