Skip to content

Commit 37db12b

Browse files
committed
Update from gnulib.
1 parent bab3d99 commit 37db12b

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2011-08-07 Bruno Haible <bruno@clisp.org>
2+
3+
* lib/relocatable.c: Update from gnulib.
4+
15
2011-08-06 Bruno Haible <bruno@clisp.org>
26

37
Upgrade the GB18030 converter to the version from 2005.

lib/relocatable.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
# define _GNU_SOURCE 1
2626
#endif
2727

28+
#define _GL_USE_STDLIB_ALLOC 1
2829
#include <config.h>
2930

3031
/* Specification. */
@@ -86,9 +87,6 @@
8687
# define FILE_SYSTEM_PREFIX_LEN(P) 0
8788
#endif
8889

89-
/* Use the system functions, not the gnulib overrides in this file. */
90-
#undef malloc
91-
9290
/* Original installation prefix. */
9391
static char *orig_prefix;
9492
static size_t orig_prefix_len;

libcharset/lib/ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2011-08-07 Bruno Haible <bruno@clisp.org>
2+
3+
* relocatable.c: Update from gnulib.
4+
15
2011-02-28 Bruno Haible <bruno@clisp.org>
26

37
Assume ANSI C behaviour of free().

libcharset/lib/relocatable.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
# define _GNU_SOURCE 1
2626
#endif
2727

28+
#define _GL_USE_STDLIB_ALLOC 1
2829
#include <config.h>
2930

3031
/* Specification. */
@@ -86,9 +87,6 @@
8687
# define FILE_SYSTEM_PREFIX_LEN(P) 0
8788
#endif
8889

89-
/* Use the system functions, not the gnulib overrides in this file. */
90-
#undef malloc
91-
9290
/* Original installation prefix. */
9391
static char *orig_prefix;
9492
static size_t orig_prefix_len;

0 commit comments

Comments
 (0)