aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorPaul Eggert2025-01-16 23:28:34 -0800
committerPaul Eggert2025-01-17 15:56:30 -0800
commit29794c71452c58c596c58fd6148741d213d3ee7b (patch)
tree765a75139edb05c2507db2f8a7e1210600f1a361 /admin
parent9eefe7ccdae5cc9d5cfb8b7e5897497490d4be4f (diff)
downloademacs-29794c71452c58c596c58fd6148741d213d3ee7b.tar.gz
emacs-29794c71452c58c596c58fd6148741d213d3ee7b.zip
Let Gnulib deal with malloc/realloc 0
Instead of worrying about whether malloc and realloc yield a non-null pointer when given size 0 (the traditional behavior recommended by Doug McIlroy, and the only behavior that makes sense for Emacs), let Gnulib arrange for the traditional behavior. * admin/merge-gnulib (GNULIB_MODULES): Add malloc-gnu (which we were already depending on indirectly) and realloc-posix. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate by running admin/merge-gnulib.
Diffstat (limited to 'admin')
-rwxr-xr-xadmin/merge-gnulib4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/merge-gnulib b/admin/merge-gnulib
index 2eab5ab8b9c..ae433961df3 100755
--- a/admin/merge-gnulib
+++ b/admin/merge-gnulib
@@ -41,11 +41,11 @@ GNULIB_MODULES='
41 free-posix fstatat fsusage fsync futimens 41 free-posix fstatat fsusage fsync futimens
42 getline getloadavg getopt-gnu getrandom gettime gettimeofday gitlog-to-changelog 42 getline getloadavg getopt-gnu getrandom gettime gettimeofday gitlog-to-changelog
43 ieee754-h ignore-value intprops largefile libgmp lstat 43 ieee754-h ignore-value intprops largefile libgmp lstat
44 manywarnings memmem-simple mempcpy memrchr memset_explicit 44 malloc-gnu manywarnings memmem-simple mempcpy memrchr memset_explicit
45 minmax mkostemp mktime 45 minmax mkostemp mktime
46 nanosleep nproc nstrftime 46 nanosleep nproc nstrftime
47 pathmax pipe2 pselect pthread_sigmask 47 pathmax pipe2 pselect pthread_sigmask
48 qcopy-acl readlink readlinkat regex 48 qcopy-acl readlink readlinkat realloc-posix regex
49 sig2str sigdescr_np socklen stat-time std-gnu11 49 sig2str sigdescr_np socklen stat-time std-gnu11
50 stdc_bit_width stdc_count_ones stdc_trailing_zeros 50 stdc_bit_width stdc_count_ones stdc_trailing_zeros
51 stdckdint-h stddef-h stdio-h 51 stdckdint-h stddef-h stdio-h