[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
canonicalize-lgpl: Simplify
From: |
Bruno Haible |
Subject: |
canonicalize-lgpl: Simplify |
Date: |
Sun, 31 Jan 2021 12:37:42 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-197-generic; KDE/5.18.0; x86_64; ; ) |
Since canonicalize-lgpl.c no longer invokes malloc() nor realloc() directly
(it does its memory allocation through the 'scratch_buffer' module now),
defining _GL_USE_STDLIB_ALLOC is a redundant no-op now.
2021-01-31 Bruno Haible <bruno@clisp.org>
canonicalize-lgpl: Simplify.
* lib/canonicalize-lgpl.c (_GL_USE_STDLIB_ALLOC): Remove macro.
diff --git a/lib/canonicalize-lgpl.c b/lib/canonicalize-lgpl.c
index 1d2ad6c..c6fef17 100644
--- a/lib/canonicalize-lgpl.c
+++ b/lib/canonicalize-lgpl.c
@@ -21,7 +21,6 @@
optimizes away the name == NULL test below. */
# define _GL_ARG_NONNULL(params)
-# define _GL_USE_STDLIB_ALLOC 1
# include <libc-config.h>
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- canonicalize-lgpl: Simplify,
Bruno Haible <=