diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-01-18 18:25:25 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-01-18 22:50:18 +0100 |
commit | aeb22f486139f457ae7fc44c2d931312aaae52d8 (patch) | |
tree | 0fbfe6d421e637553f9bca39f08577c0ddb990e8 /lib/scratch_buffer.h | |
parent | 4404b553a5a135aee5a606dedea9b6fa25363be4 (diff) | |
download | guile-aeb22f486139f457ae7fc44c2d931312aaae52d8.tar.gz |
Update Gnulib to v0.1-5703-g356a414e8c and add 'posix_spawn' module.
This is a followup to edfca3b7e5931b5b5a83112e2a9813b068be99c2, which
added the 'posix_spawnp' module but not 'posix_spawn'.
* m4/gnulib-cache.m4: Add 'posix_spawn' module.
* gnulib-local/m4/clock_time.m4.diff: Adjust.
* configure.ac: Move 'gl_EARLY' use right after 'AC_PROG_CC'.
Diffstat (limited to 'lib/scratch_buffer.h')
-rw-r--r-- | lib/scratch_buffer.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/scratch_buffer.h b/lib/scratch_buffer.h index f4fe5e8d3..4cf60d232 100644 --- a/lib/scratch_buffer.h +++ b/lib/scratch_buffer.h @@ -1,5 +1,5 @@ /* Variable-sized buffer with on-stack default allocation. - Copyright (C) 2017-2022 Free Software Foundation, Inc. + Copyright (C) 2017-2023 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as @@ -98,20 +98,10 @@ extern bool scratch_buffer_set_array_size (struct scratch_buffer *buffer, size_t nelem, size_t size); #endif -/* Return a copy of *BUFFER's first SIZE bytes as a heap-allocated block, - deallocating *BUFFER if it was heap-allocated. SIZE must be at - most *BUFFER's size. Return NULL (setting errno) on memory - exhaustion. */ -#if 0 -extern void *scratch_buffer_dupfree (struct scratch_buffer *buffer, - size_t size); -#endif - /* The implementation is imported from glibc. */ /* Avoid possible conflicts with symbols exported by the GNU libc. */ -#define __libc_scratch_buffer_dupfree gl_scratch_buffer_dupfree #define __libc_scratch_buffer_grow gl_scratch_buffer_grow #define __libc_scratch_buffer_grow_preserve gl_scratch_buffer_grow_preserve #define __libc_scratch_buffer_set_array_size gl_scratch_buffer_set_array_size |