1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 15:00:45 -08:00
emacs/src
Po Lu b30ef09919 Prevent crashes caused by invalid locale coding systems
* src/xterm.c (handle_one_xevent): Prevent a signal inside
`setup_coding_system' which crashes recent versions of GLib if
the locale coding system is invalid.

Do not merge to master.
2022-02-17 15:35:41 +08:00
..
bitmaps
.dbxinit
.gdbinit ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
alloc.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
atimer.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
atimer.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
bidi.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
bignum.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
bignum.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
blockinput.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
buffer.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
buffer.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
bytecode.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
callint.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
callproc.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
casefiddle.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
casetab.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
category.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
category.h
ccl.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ccl.h
ChangeLog.1 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ChangeLog.2 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ChangeLog.3 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ChangeLog.4 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ChangeLog.5 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ChangeLog.6 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ChangeLog.7 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ChangeLog.8 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ChangeLog.9 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ChangeLog.10 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ChangeLog.11 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ChangeLog.12 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ChangeLog.13 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
character.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
character.h Fix cursor motion around some Emoji sequences 2021-09-25 12:18:27 +03:00
charset.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
charset.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
chartab.c Factor out char_table_ref_simple for readability 2021-07-21 14:01:57 +02:00
cm.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cm.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cmds.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
coding.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
coding.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
commands.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
comp.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
comp.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
composite.c ; * src/composite.c (syms_of_composite) <auto-composition-mode>: Doc fix. 2022-01-25 14:15:36 +02:00
composite.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
conf_post.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
COPYING
cygw32.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cygw32.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
data.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
dbusbind.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
decompress.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
deps.mk ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
dired.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
dispextern.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
dispnew.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
disptab.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
dmpstruct.awk ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
doc.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
doprnt.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
dosfns.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
dosfns.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
dynlib.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
dynlib.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
editfns.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
emacs-icon.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
emacs-module.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
emacs-module.h.in ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
emacs.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
emacsgtkfixed.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
emacsgtkfixed.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
epaths.in ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
eval.c Bind Qdebugger to Qdebug in signal_or_quit. 2022-01-31 17:20:45 +00:00
fileio.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
filelock.c Fix error in filelock.c 2022-01-29 11:45:38 +01:00
firstfile.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
floatfns.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
fns.c ; * src/fns.c (Frequire): Fix wording of doc string. 2022-01-09 19:02:17 +02:00
font.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
font.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
fontset.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
fontset.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
frame.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
frame.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
fringe.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ftcrfont.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ftfont.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ftfont.h extern function cleanup 2019-08-24 15:55:08 -07:00
getpagesize.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
gfilenotify.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
gmalloc.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
gnutls.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
gnutls.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
gtkutil.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
gtkutil.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
hbfont.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
image.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
indent.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
indent.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
inotify.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
insdel.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
intervals.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
intervals.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
json.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
keyboard.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
keyboard.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
keymap.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
keymap.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
kqueue.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
lastfile.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
lcms.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
lisp.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
lread.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
macfont.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
macfont.m ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
macros.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
macros.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
macuvs.h
Makefile.in ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
marker.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
menu.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
menu.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
minibuf.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
module-env-25.h Move the new module unibyte function to the correct module-env.h file 2020-10-14 05:57:05 +02:00
module-env-26.h
module-env-27.h Make argument names in module interface more consistent. 2019-12-23 17:16:10 +01:00
module-env-28.h Remove maintainer comment from Emacs 28 module snippet. 2021-12-14 11:17:37 +01:00
msdos.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
msdos.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
nsfns.m ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
nsfont.m ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
nsgui.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
nsimage.m ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
nsmenu.m ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
nsselect.m ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
nsterm.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
nsterm.m Remove debug logging 2022-01-29 12:15:39 +00:00
nsxwidget.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
nsxwidget.m ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
pdumper.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
pdumper.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
print.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
process.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
process.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
profiler.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
puresize.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ralloc.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
README ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
regex-emacs.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
regex-emacs.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
region-cache.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
region-cache.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
scroll.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
search.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
sheap.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
sheap.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
sound.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
syntax.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
syntax.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
sysdep.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
sysselect.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
syssignal.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
sysstdio.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
systhread.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
systhread.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
systime.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
systty.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
syswait.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
term.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
termcap.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
termchar.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
termhooks.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
terminal.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
terminfo.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
termopts.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
textprop.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
thread.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
thread.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
timefns.c Clarify %g and %G time format specs 2022-01-02 09:30:15 +02:00
tparam.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
tparam.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
undo.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
unexaix.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
unexcoff.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
unexcw.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
unexec.h
unexelf.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
unexhp9k800.c
unexmacosx.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
unexsol.c
unexw32.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
verbose.mk.in ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
vm-limit.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
w16select.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
w32.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
w32.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
w32common.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
w32console.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
w32cygwinx.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
w32fns.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
w32font.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
w32font.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
w32gui.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
w32heap.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
w32heap.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
w32image.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
w32inevt.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
w32inevt.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
w32menu.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
w32notify.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
w32proc.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
w32reg.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
w32select.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
w32select.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
w32term.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
w32term.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
w32uniscribe.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
w32xfns.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
widget.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
widget.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
widgetprv.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
window.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
window.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
xdisp.c Fix 'make_lispy_position' when there's an image at EOB 2022-01-26 16:44:14 +02:00
xfaces.c Clarify documentation of a "face's font" 2022-01-31 19:29:54 +02:00
xfns.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
xfont.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
xftfont.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
xgselect.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
xgselect.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
xmenu.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
xml.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
xrdb.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
xselect.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
xsettings.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
xsettings.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
xsmfns.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
xterm.c Prevent crashes caused by invalid locale coding systems 2022-02-17 15:35:41 +08:00
xterm.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
xwidget.c ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
xwidget.h ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Copyright (C) 2001-2022 Free Software Foundation, Inc.
See the end of the file for license conditions.


This directory contains the source files for the C component of GNU Emacs.
Nothing in this directory is needed for using Emacs once it is built
and installed, if the dumped Emacs is copied elsewhere.

See the files ../README and then ../INSTALL for installation instructions.

The file 'Makefile.in' is used as a template by the script
'../configure' to produce 'Makefile'.  This is the file which actually
controls the compilation of Emacs C source files.  All of this should
work transparently; you should only need to change to the parent
directory, run './configure', and then run 'make'.

This file is part of GNU Emacs.

GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.