aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2021-10-04 12:11:39 -0700
committerPaul Eggert2021-10-04 15:21:31 -0700
commit68a256c89270ef9e97bca6097967a9ed2b050f4a (patch)
tree7a3cca947c133bf7def967083f1054dfa4239322 /src
parent63cb65dccecb1146cdad7134e4b62ea3e1433880 (diff)
downloademacs-68a256c89270ef9e97bca6097967a9ed2b050f4a.tar.gz
emacs-68a256c89270ef9e97bca6097967a9ed2b050f4a.zip
Update from Gnulib
Make the following changes by hand, and run 'admin/merge-gnulib'. * .gitignore: Add lib/malloc/*.gl.h. * admin/merge-gnulib: Copy lib/af_alg.h and lib/save-cwd.h directly from Gnulib, without worrying about Gnulib modules, as these files are special cases. (AVOIDED_MODULES): Remove malloc-posix. * lib/malloc.c, lib/realloc.c, m4/malloc.m4, m4/realloc.m4: * m4/year2038.m4: New files, copied from Gnulib. * lib/malloca.c, lib/malloca.h: * m4/close-stream.m4, m4/glibc21.m4, m4/malloca.m4: Remove. These are either no longer present in Gnulib, or are no longer needed by modules that Emacs uses. * oldXMenu/AddPane.c, oldXmenu/Addsel.c: Include XmenuInt.h first; needed for new Gnulib. * src/xmenu.c: Call emacs_abort, not abort.
Diffstat (limited to 'src')
-rw-r--r--src/xmenu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 709e455dd05..ea2cbab2030 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -1605,11 +1605,11 @@ x_menu_show (struct frame *f, int x, int y, int menuflags,
1605 prev_wv->next = wv; 1605 prev_wv->next = wv;
1606 else if (!save_wv) 1606 else if (!save_wv)
1607 { 1607 {
1608 /* This call to 'abort' pacifies gcc 11.2.1 when Emacs 1608 /* This emacs_abort call pacifies gcc 11.2.1 when Emacs
1609 is configured with --enable-gcc-warnings. FIXME: If 1609 is configured with --enable-gcc-warnings. FIXME: If
1610 save_wv can be null, do something better; otherwise, 1610 save_wv can be null, do something better; otherwise,
1611 explain why save_wv cannot be null. */ 1611 explain why save_wv cannot be null. */
1612 abort (); 1612 emacs_abort ();
1613 } 1613 }
1614 else 1614 else
1615 save_wv->contents = wv; 1615 save_wv->contents = wv;