1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-24 22:40:51 -08:00
emacs/oldXMenu
Paul Eggert 1a0fe2a518 Pacify gcc 11.1.1 -Wanalyzer-possible-null-dereference
* oldXMenu/Create.c (XMenuCreate):
* oldXMenu/Internal.c (_XMRecomputePane, _XMRecomputeSelection):
* oldXMenu/XMakeAssoc.c (XMakeAssoc):
* test/src/emacs-module-resources/mod-test.c (Fmod_test_userptr_make):
Don’t assume that malloc and calloc succeed.
2021-07-12 00:12:21 -07:00
..
Activate.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
AddPane.c Add double-buffering support to reduce flicker 2016-10-28 19:21:39 -07:00
AddSel.c Add double-buffering support to reduce flicker 2016-10-28 19:21:39 -07:00
ChangeLog.1 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ChgPane.c oldXMenu: add missing #include <string.h> 2017-02-15 16:54:06 +01:00
ChgSel.c oldXMenu: add missing #include <string.h> 2017-02-15 16:54:06 +01:00
copyright.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
Create.c Pacify gcc 11.1.1 -Wanalyzer-possible-null-dereference 2021-07-12 00:12:21 -07:00
DelPane.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
DelSel.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
deps.mk Update copyright year to 2021 2021-01-01 01:13:56 -08:00
Destroy.c Modernize to C89, for better static checking. 2011-04-16 01:25:42 -07:00
Error.c Modernize to C89, for better static checking. 2011-04-16 01:25:42 -07:00
EvHand.c Modernize to C89, for better static checking. 2011-04-16 01:25:42 -07:00
FindPane.c Modernize to C89, for better static checking. 2011-04-16 01:25:42 -07:00
FindSel.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
InsPane.c oldXMenu: add missing #include <string.h> 2017-02-15 16:54:06 +01:00
insque.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
InsSel.c oldXMenu: add missing #include <string.h> 2017-02-15 16:54:06 +01:00
Internal.c Pacify gcc 11.1.1 -Wanalyzer-possible-null-dereference 2021-07-12 00:12:21 -07:00
Locate.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
Makefile.in Simplify silent-rules build machinery 2021-03-06 16:28:46 -08:00
Post.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
README
Recomp.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
SetAEQ.c Modernize to C89, for better static checking. 2011-04-16 01:25:42 -07:00
SetFrz.c Modernize to C89, for better static checking. 2011-04-16 01:25:42 -07:00
SetPane.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
SetSel.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
X10.h Spelling fixes. 2011-12-05 00:55:25 -08:00
XCrAssoc.c Add double-buffering support to reduce flicker 2016-10-28 19:21:39 -07:00
XDelAssoc.c Modernize to C89, for better static checking. 2011-04-16 01:25:42 -07:00
XDestAssoc.c Modernize to C89, for better static checking. 2011-04-16 01:25:42 -07:00
XLookAssoc.c Include <config.h> uniformly in oldXMenu sources. 2012-12-04 12:42:29 -08:00
XMakeAssoc.c Pacify gcc 11.1.1 -Wanalyzer-possible-null-dereference 2021-07-12 00:12:21 -07:00
XMenu.h Spelling fixes. 2011-12-05 00:55:25 -08:00
XMenuInt.h * XMenuInt.h (XDeleteAssoc): Remove duplicated prototype to 2014-07-12 08:06:32 +04:00

Most of the files in this directory are originally from the X11R2
XMenu library, distributed by MIT under the terms in the file copyright.h.

As of Release 2 of the X Window System, Version 11 from MIT, the XMenu
library is no longer supported.  It is not used in any software
supplied by MIT and its use is not encouraged.

In X11R1, oldXMenu/ was found in the lib/ directory of the X11 source;
but in X11R2 it was moved to contrib/.

The following files are from the X11 oldXMenu/ directory:

 Activate.c AddPane.c AddSel.c ChgPane.c ChgSel.c Create.c DelPane.c
 DelSel.c Destroy.c Error.c EvHand.c FindPane.c FindSel.c InsPane.c
 InsSel.c Internal.c Locate.c Post.c Recomp.c SetAEQ.c SetFrz.c
 SetPane.c SetSel.c XMenu.h XMenuInt.h (renamed from "XMenuInternal.h")

The following files are from the X11 oldX/ directory:

 X10.h XCrAssoc.c XDelAssoc.c XDestAssoc.c XLookAssoc.c XMakeAssoc.c

This code is used by Emacs in the absence of an X-toolkit.