]> Savannah Git Hosting - gnulib.git/commitdiff
dynarray: Rename to glibc-internal/dynarray.
authorBruno Haible <bruno@clisp.org>
Thu, 3 Nov 2022 12:32:42 +0000 (13:32 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 3 Nov 2022 20:42:43 +0000 (21:42 +0100)
* modules/glibc-internal/dynarray: Renamed from modules/dynarray.
* modules/glibc-internal/dynarray-tests: Renamed from
modules/dynarray-tests.
* modules/regex (Depends-on): Update.
* NEWS: Mention this change and the previous one.

ChangeLog
NEWS
modules/dynarray [deleted file]
modules/dynarray-tests [deleted file]
modules/glibc-internal/dynarray [new file with mode: 0644]
modules/glibc-internal/dynarray-tests [new file with mode: 0644]
modules/regex

index 70e717284b95e24d83d924f39c4259da4d647650..70ece5200a6f82ce7d0be86d97e54b3c913e5d70 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2022-11-03  Bruno Haible  <bruno@clisp.org>
+
+       dynarray: Rename to glibc-internal/dynarray.
+       * modules/glibc-internal/dynarray: Renamed from modules/dynarray.
+       * modules/glibc-internal/dynarray-tests: Renamed from
+       modules/dynarray-tests.
+       * modules/regex (Depends-on): Update.
+       * NEWS: Mention this change and the previous one.
+
 2022-11-03  Bruno Haible  <bruno@clisp.org>
 
        scratch_buffer: Rename to glibc-internal/scratch_buffer.
diff --git a/NEWS b/NEWS
index 327fc8ceeef4851221afc8ff5b851f12c6735110..3b83e2978dab2f534214f021216c58a53dd99628 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -74,6 +74,10 @@ User visible incompatible changes
 
 Date        Modules         Changes
 
+2022-11-03  dynarray        These modules are renamed to glibc-internal/dynarray
+            scratch_buffer  and glibc-internal/scratch_buffer, respectively.
+                            They are not meant for general use.
+
 2022-11-02  scratch_buffer  The function 'gl_scratch_buffer_dupfree' is removed.
 
 2022-09-10  stdbool         This module now assumes C99 and provides C23,
diff --git a/modules/dynarray b/modules/dynarray
deleted file mode 100644 (file)
index 6689594..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-Description:
-Type-safe arrays which grow dynamically.
-
-Files:
-lib/dynarray.h
-lib/malloc/dynarray-skeleton.c
-lib/malloc/dynarray.h
-lib/malloc/dynarray_at_failure.c
-lib/malloc/dynarray_emplace_enlarge.c
-lib/malloc/dynarray_finalize.c
-lib/malloc/dynarray_resize.c
-lib/malloc/dynarray_resize_clear.c
-
-Depends-on:
-c99
-builtin-expect
-gen-header
-libc-config
-stdbool
-stddef
-intprops
-
-configure.ac:
-AC_PROG_MKDIR_P
-
-Makefile.am:
-BUILT_SOURCES += malloc/dynarray.gl.h malloc/dynarray-skeleton.gl.h
-
-malloc/dynarray.gl.h: malloc/dynarray.h
-       $(AM_V_GEN)$(MKDIR_P) '%reldir%/malloc'
-       $(AM_V_at)$(SED_HEADER_STDOUT) \
-         -e '/libc_hidden_proto/d' \
-         $(srcdir)/malloc/dynarray.h > $@-t
-       $(AM_V_at)mv $@-t $@
-MOSTLYCLEANFILES += malloc/dynarray.gl.h malloc/dynarray.gl.h-t
-
-malloc/dynarray-skeleton.gl.h: malloc/dynarray-skeleton.c
-       $(AM_V_GEN)$(MKDIR_P) '%reldir%/malloc'
-       $(AM_V_at)$(SED_HEADER_STDOUT) \
-             -e 's|<malloc/dynarray\.h>|<malloc/dynarray.gl.h>|g' \
-             -e 's|__attribute_maybe_unused__|_GL_ATTRIBUTE_MAYBE_UNUSED|g' \
-             -e 's|__attribute_nonnull__|_GL_ATTRIBUTE_NONNULL|g' \
-             -e 's|__attribute_warn_unused_result__|_GL_ATTRIBUTE_NODISCARD|g' \
-             -e 's|__glibc_likely|_GL_LIKELY|g' \
-             -e 's|__glibc_unlikely|_GL_UNLIKELY|g' \
-             $(srcdir)/malloc/dynarray-skeleton.c > $@-t
-       $(AM_V_at)mv $@-t $@
-MOSTLYCLEANFILES += malloc/dynarray-skeleton.gl.h malloc/dynarray-skeleton.gl.h-t
-
-lib_SOURCES += malloc/dynarray_at_failure.c \
-               malloc/dynarray_emplace_enlarge.c \
-               malloc/dynarray_finalize.c \
-               malloc/dynarray_resize.c \
-               malloc/dynarray_resize_clear.c
-
-Include:
-"dynarray.h"
-
-License:
-LGPLv2+
-
-Maintainer:
-all, glibc
diff --git a/modules/dynarray-tests b/modules/dynarray-tests
deleted file mode 100644 (file)
index 2791b9c..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-Files:
-tests/test-dynarray.c
-tests/macros.h
-
-Depends-on:
-
-configure.ac:
-
-Makefile.am:
-TESTS += test-dynarray
-check_PROGRAMS += test-dynarray
diff --git a/modules/glibc-internal/dynarray b/modules/glibc-internal/dynarray
new file mode 100644 (file)
index 0000000..6689594
--- /dev/null
@@ -0,0 +1,63 @@
+Description:
+Type-safe arrays which grow dynamically.
+
+Files:
+lib/dynarray.h
+lib/malloc/dynarray-skeleton.c
+lib/malloc/dynarray.h
+lib/malloc/dynarray_at_failure.c
+lib/malloc/dynarray_emplace_enlarge.c
+lib/malloc/dynarray_finalize.c
+lib/malloc/dynarray_resize.c
+lib/malloc/dynarray_resize_clear.c
+
+Depends-on:
+c99
+builtin-expect
+gen-header
+libc-config
+stdbool
+stddef
+intprops
+
+configure.ac:
+AC_PROG_MKDIR_P
+
+Makefile.am:
+BUILT_SOURCES += malloc/dynarray.gl.h malloc/dynarray-skeleton.gl.h
+
+malloc/dynarray.gl.h: malloc/dynarray.h
+       $(AM_V_GEN)$(MKDIR_P) '%reldir%/malloc'
+       $(AM_V_at)$(SED_HEADER_STDOUT) \
+         -e '/libc_hidden_proto/d' \
+         $(srcdir)/malloc/dynarray.h > $@-t
+       $(AM_V_at)mv $@-t $@
+MOSTLYCLEANFILES += malloc/dynarray.gl.h malloc/dynarray.gl.h-t
+
+malloc/dynarray-skeleton.gl.h: malloc/dynarray-skeleton.c
+       $(AM_V_GEN)$(MKDIR_P) '%reldir%/malloc'
+       $(AM_V_at)$(SED_HEADER_STDOUT) \
+             -e 's|<malloc/dynarray\.h>|<malloc/dynarray.gl.h>|g' \
+             -e 's|__attribute_maybe_unused__|_GL_ATTRIBUTE_MAYBE_UNUSED|g' \
+             -e 's|__attribute_nonnull__|_GL_ATTRIBUTE_NONNULL|g' \
+             -e 's|__attribute_warn_unused_result__|_GL_ATTRIBUTE_NODISCARD|g' \
+             -e 's|__glibc_likely|_GL_LIKELY|g' \
+             -e 's|__glibc_unlikely|_GL_UNLIKELY|g' \
+             $(srcdir)/malloc/dynarray-skeleton.c > $@-t
+       $(AM_V_at)mv $@-t $@
+MOSTLYCLEANFILES += malloc/dynarray-skeleton.gl.h malloc/dynarray-skeleton.gl.h-t
+
+lib_SOURCES += malloc/dynarray_at_failure.c \
+               malloc/dynarray_emplace_enlarge.c \
+               malloc/dynarray_finalize.c \
+               malloc/dynarray_resize.c \
+               malloc/dynarray_resize_clear.c
+
+Include:
+"dynarray.h"
+
+License:
+LGPLv2+
+
+Maintainer:
+all, glibc
diff --git a/modules/glibc-internal/dynarray-tests b/modules/glibc-internal/dynarray-tests
new file mode 100644 (file)
index 0000000..2791b9c
--- /dev/null
@@ -0,0 +1,11 @@
+Files:
+tests/test-dynarray.c
+tests/macros.h
+
+Depends-on:
+
+configure.ac:
+
+Makefile.am:
+TESTS += test-dynarray
+check_PROGRAMS += test-dynarray
index b78042722175f19a64a56f42c934fab27d674e62..7779a1e7964dcdc6062fb7cb4841170d2e999243 100644 (file)
@@ -20,27 +20,27 @@ c99
 extensions
 ssize_t
 vararrays
-attribute       [test $ac_use_included_regex = yes]
-btowc           [test $ac_use_included_regex = yes]
-builtin-expect  [test $ac_use_included_regex = yes]
-dynarray        [test $ac_use_included_regex = yes]
-intprops        [test $ac_use_included_regex = yes]
-iswctype        [test $ac_use_included_regex = yes]
-langinfo        [test $ac_use_included_regex = yes]
-libc-config     [test $ac_use_included_regex = yes]
-lock            [test $ac_use_included_regex = yes]
-memcmp          [test $ac_use_included_regex = yes]
-memmove         [test $ac_use_included_regex = yes]
-mbrtowc         [test $ac_use_included_regex = yes]
-mbsinit         [test $ac_use_included_regex = yes]
-nl_langinfo     [test $ac_use_included_regex = yes]
-stdbool         [test $ac_use_included_regex = yes]
-stdint          [test $ac_use_included_regex = yes]
-verify          [test $ac_use_included_regex = yes]
-wchar           [test $ac_use_included_regex = yes]
-wcrtomb         [test $ac_use_included_regex = yes]
-wctype-h        [test $ac_use_included_regex = yes]
-wctype          [test $ac_use_included_regex = yes]
+attribute               [test $ac_use_included_regex = yes]
+btowc                   [test $ac_use_included_regex = yes]
+builtin-expect          [test $ac_use_included_regex = yes]
+glibc-internal/dynarray [test $ac_use_included_regex = yes]
+intprops                [test $ac_use_included_regex = yes]
+iswctype                [test $ac_use_included_regex = yes]
+langinfo                [test $ac_use_included_regex = yes]
+libc-config             [test $ac_use_included_regex = yes]
+lock                    [test $ac_use_included_regex = yes]
+memcmp                  [test $ac_use_included_regex = yes]
+memmove                 [test $ac_use_included_regex = yes]
+mbrtowc                 [test $ac_use_included_regex = yes]
+mbsinit                 [test $ac_use_included_regex = yes]
+nl_langinfo             [test $ac_use_included_regex = yes]
+stdbool                 [test $ac_use_included_regex = yes]
+stdint                  [test $ac_use_included_regex = yes]
+verify                  [test $ac_use_included_regex = yes]
+wchar                   [test $ac_use_included_regex = yes]
+wcrtomb                 [test $ac_use_included_regex = yes]
+wctype-h                [test $ac_use_included_regex = yes]
+wctype                  [test $ac_use_included_regex = yes]
 
 configure.ac:
 gl_REGEX