1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-05-15 01:27:25 -07:00
emacs/lib-src
Paul Eggert 7d07690e5d emacsclient receiving long-line fixes
Do not mishandle long lines, or lines containing NUL,
when receiving data.
* lib-src/emacsclient.c (check_socket_timeout, main):
Use ssize_t for return values from recv,
since in theory the value could exceed INT_MAX now.
(main): Do not use a fixed-size buffer for receiving data;
instead, grow the buffer as needed (admittedly unlikely).
When a partial line is received via recv, do not discard its data;
instead, keep reading, possibly with a grown buffer.
Do not ignore received data after a null byte is received.
Add a comment about when received data is ignored due to a goto.
2026-04-12 23:21:02 -07:00
..
asset-directory-tool.c ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
be_resources.cc ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
ChangeLog.1 ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
COPYING
ebrowse.c ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
emacsclient.c emacsclient receiving long-line fixes 2026-04-12 23:21:02 -07:00
etags.c ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
hexl.c ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
make-docfile.c Pacify clang -Wunused-result 2026-03-01 11:36:47 -08:00
make-fingerprint.c ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
Makefile.in ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
movemail.c ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
ntlib.c ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
ntlib.h ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
pop.c ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
pop.h ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
rcs2log ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
README
seccomp-filter.c Allow retrieving scheduler information in seccomp (bug#80656) 2026-03-25 16:08:32 +00:00
update-game-score.c ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00

This directory contains the source code for the architecture-dependent
files that go in ${archlibdir}.  At present, these are mostly utility
programs used by GNU Emacs.