diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-03-18 17:57:13 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-03-18 17:57:13 +0000 |
commit | 7551a1e5100c596793fa182cd26346ff971d3a4f (patch) | |
tree | f3c959a1c55505681669ebeb43fbeb5251eb6da5 /string/strdup.c | |
parent | 3116126871400c8737a9df0145f66534f097c06c (diff) | |
download | glibc-7551a1e5100c596793fa182cd26346ff971d3a4f.tar glibc-7551a1e5100c596793fa182cd26346ff971d3a4f.tar.gz glibc-7551a1e5100c596793fa182cd26346ff971d3a4f.tar.bz2 glibc-7551a1e5100c596793fa182cd26346ff971d3a4f.zip |
Update.
1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/memory.texi (Heap Consistency Checking): Document
MALLOC_CHECK_. Based on a text by Wolfram Gloger.
1998-03-18 17:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
* manual/Makefile: Add missing rules.
1998-03-18 Ulrich Drepper <drepper@cygnus.com>
* timezone/Makefile (generated): Define to remove all stamp files.
* sysdeps/generic/strsep.c: Also undefine __strsep.
* string/strdup.c: Undefine __strdup and strdup first.
* string/strndup.c: Likewise.
* string/bits/string2.h: Correct strtok_r and strsep.
Add strndup optimization.
* sysdeps/generic/strsep.c: Little optimization.
Diffstat (limited to 'string/strdup.c')
-rw-r--r-- | string/strdup.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/string/strdup.c b/string/strdup.c index be3883f688..2e0852cb9e 100644 --- a/string/strdup.c +++ b/string/strdup.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -28,6 +28,9 @@ char *malloc (); char *memcpy (); #endif +#undef __strdup +#undef strdup + #ifndef weak_alias # define __strdup strdup #endif |