projects
/
debian
/
gzip
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
implement as a patch, not directly
[debian/gzip]
/
lib
/
realloc.c
diff --git
a/lib/realloc.c
b/lib/realloc.c
index b61c2ca8294d05ba5561ff0ba380d33cd5748368..36aeecc41b7203574b658edaebb6bd9975c9f737 100644
(file)
--- a/
lib/realloc.c
+++ b/
lib/realloc.c
@@
-1,6
+1,7
@@
/* realloc() function that is glibc compatible.
/* realloc() function that is glibc compatible.
- Copyright (C) 1997, 2003, 2004, 2006, 2007 Free Software Foundation, Inc.
+ Copyright (C) 1997, 2003-2004, 2006-2007, 2009-2010 Free Software
+ Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-71,7
+72,7
@@
rpl_realloc (void *p, size_t n)
{
#if GNULIB_REALLOC_GNU && !NEED_REALLOC_GNU && !SYSTEM_MALLOC_GLIBC_COMPATIBLE
if (n == 0)
{
#if GNULIB_REALLOC_GNU && !NEED_REALLOC_GNU && !SYSTEM_MALLOC_GLIBC_COMPATIBLE
if (n == 0)
- n = 1;
+
n = 1;
#endif
result = malloc (n);
}
#endif
result = malloc (n);
}