- Changed the definition of alloca() for GCC, which now defaults

to the built-in function.

- Updated the stdio.h, stdlib.h, string.h and unistd.h header files
  to declare function prototypes for the __MEM_DEBUG versions of the
  library functions only if that preprocessor symbol is defined.

- If a SIGINT signal is caught and processed by the default signal
  handler, the localized "*** BREAK" string will be printed rather
  than the built-in one.


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14786 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2004-12-26 10:28:57 +00:00
parent d74535f87f
commit ad0880d204
31 changed files with 237 additions and 216 deletions
+1 -10
View File
@@ -1,5 +1,5 @@
/*
* $Id: stdlib_malloc.c,v 1.3 2004-12-24 18:31:38 obarthel Exp $
* $Id: stdlib_malloc.c,v 1.4 2004-12-26 10:28:56 obarthel Exp $
*
* :ts=4
*
@@ -250,10 +250,6 @@ __malloc(size_t size,const char * file,int line)
/****************************************************************************/
#if NOT defined(__MEM_DEBUG)
/****************************************************************************/
void *
malloc(size_t size)
{
@@ -264,11 +260,6 @@ malloc(size_t size)
return(result);
}
/****************************************************************************/
#endif /* __MEM_DEBUG */
/****************************************************************************/
void