---
lib/xmalloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/xmalloc.c b/lib/xmalloc.c
index 413ee1b3c..81bb427d3 100644
--- a/lib/xmalloc.c
+++ b/lib/xmalloc.c
@@ -28,7 +28,7 @@
#include
#include
-static void *
+static void * _GL_ATTRIBUTE_PURE
nonnull (void *p
* lib/xgethostname.c (XGETANAME):
Prefer idx_t to size_t for indexes, using idx_t-related allocators.
---
ChangeLog | 1 +
lib/xgethostname.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index e14aeb06a..c9fd316ab 100644
--- a/ChangeLog
+++ b
* lib/readtokens.c (readtoken, readtokens):
Prefer idx_t to size_t for indexes, using idx_t-related allocators.
---
ChangeLog| 1 +
lib/readtokens.c | 14 ++
lib/readtokens.h | 2 ++
3 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 5d
This is for code that prefers to use idx_t for sizes.
* lib/xalloc.h (ximalloc, xizalloc, xicalloc, xirealloc)
(xireallocarray, ximemdup, ximemdup0) [GNULIB_XALLOC]:
New decls.
(x2nrealloc): Now just a decl, as the body is moved into xmalloc.c.
* lib/xmalloc.c: Include ialloc.h.
Rename some local p
* lib/dfa.c (mbs_to_wchar, state_index, dfaoptimize, dfaanalyze)
(icatalloc, enlist, allocmust, dfamust):
Prefer idx_t to size_t for indexes, and use idx_t-related allocators.
---
ChangeLog | 2 ++
lib/dfa.c | 28 ++--
2 files changed, 16 insertions(+), 14 deletions(-)
di
* lib/savedir.c (streamsavedir):
Prefer idx_t to size_t for indexes, using idx_t-related allocators.
---
ChangeLog | 1 +
lib/savedir.c | 14 ++
2 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index be79b866c..93039a69a 100644
--- a/ChangeLog
+
* lib/userspec.c (parse_with_separator):
Prefer idx_t to size_t for indexes, using idx_t-related allocators.
---
ChangeLog | 1 +
lib/userspec.c | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index fc3c91d63..e14aeb06a 100644
--- a/ChangeLog
+++
* lib/stack.h (_GL_STACK_TYPE, _GL_STACK_PREFIX):
Prefer idx_t to size_t for indexes, using idx_t-related allocators.
---
ChangeLog | 1 +
lib/stack.h | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 93039a69a..fc3c91d63 100644
--- a/ChangeLo
* lib/exclude.c (struct exclude_pattern, free_exclude_segment)
(file_pattern_matches, add_exclude, add_exclude_fp):
Prefer idx_t to size_t for indexes, and use idx_t-related allocators.
---
ChangeLog | 2 ++
lib/exclude.c | 29 +
2 files changed, 15 insertions(+),
* lib/readutmp.c (read_utmp):
Prefer idx_t to size_t for indexes, using idx_t-related allocators.
---
ChangeLog | 1 +
lib/readutmp.c | 12 ++--
lib/readutmp.h | 2 ++
3 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 6e2c98014..be79b866c 100
* lib/linebuffer.c (readlinebuffer_delim):
* lib/linebuffer.h (struct linebuffer):
Prefer idx_t to size_t for indexes, using idx_t-related allocators.
* lib/linebuffer.h: Include idx.h.
* modules/linebuffer (Depends-on): Add idx.
---
ChangeLog | 3 +++
lib/linebuffer.c | 4 ++--
lib/lin
* lib/getusershell.c (line_size, readname):
Prefer idx_t to size_t for indexes, using idx_t-related allocators.
---
ChangeLog | 1 +
lib/getusershell.c | 10 +-
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 1fca94c03..84ccb3645 100644
* lib/basename.c (base_name):
Prefer idx_t to size_t for indexes, and use idx_t-related allocators.
* lib/basename.c: Do not include xstrndup.h.
(basename): Simplify by always using memcpy.
* modules/dirname (Depends-on): Removbe xstrndup.
---
ChangeLog | 5 +
lib/basename.c | 50 +
* lib/ialloc.c, lib/ialloc.h, modules/ialloc: New files.
---
ChangeLog | 3 ++
lib/ialloc.c | 3 ++
lib/ialloc.h | 94 ++
modules/ialloc | 29
4 files changed, 129 insertions(+)
create mode 100644 lib/ialloc.c
create mod
* lib/exclude.c (string_hasher_ci): Take the modulo at the end
rather than each time a wide character is retrieved; this should
be more efficient and should hash better.
---
ChangeLog | 7 +++
lib/exclude.c | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/ChangeLog
Eric Blake wrote:
> > +++ b/gnulib-tool
> > @@ -4275,6 +4275,14 @@ func_emit_tests_Makefile_am ()
> >echo " @echo '## You can ignore compiler warnings in this directory.
> > ##'"
> >echo " @echo '##
> > ##'"
> >echo
> > + # Ar
On Thu, Jun 10, 2021 at 09:51:05PM +0200, Bruno Haible wrote:
> +++ b/gnulib-tool
> @@ -4275,6 +4275,14 @@ func_emit_tests_Makefile_am ()
>echo " @echo '## You can ignore compiler warnings in this directory.
> ##'"
>echo " @echo '##
17 matches
Mail list logo