aboutsummaryrefslogtreecommitdiffstats
path: root/exec/exec.c
diff options
context:
space:
mode:
authorPaul Eggert2024-09-17 15:22:02 -0700
committerPaul Eggert2024-09-17 16:39:25 -0700
commit43cde03fa5a663a1509a762077c11eb57a60cee8 (patch)
treec8979f5be22fc9091f47ca074c1b9ded52b6f227 /exec/exec.c
parentf1794a17b629f8ad2a85dbf9877e17dcdd9b9ee7 (diff)
downloademacs-43cde03fa5a663a1509a762077c11eb57a60cee8.tar.gz
emacs-43cde03fa5a663a1509a762077c11eb57a60cee8.zip
Fix yes-or-no-p with multibyte spaces
Problem reported by Thomas Klausner (Bug#73307). Emacs shouldn’t use ctype.h, as it doesn’t work for multibyte chars and it doesn’t work with Emacs’s locale model anyway. * src/fns.c: Include syntax.h, not ctype.h. (Fyes_or_no_p): Check the character category with SYNTAX, not with isspace, which assumes the current locale and works only with single-byte characters.
Diffstat (limited to 'exec/exec.c')
0 files changed, 0 insertions, 0 deletions