mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-05-15 01:27:25 -07:00
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. |
||
|---|---|---|
| .. | ||
| asset-directory-tool.c | ||
| be_resources.cc | ||
| ChangeLog.1 | ||
| COPYING | ||
| ebrowse.c | ||
| emacsclient.c | ||
| etags.c | ||
| hexl.c | ||
| make-docfile.c | ||
| make-fingerprint.c | ||
| Makefile.in | ||
| movemail.c | ||
| ntlib.c | ||
| ntlib.h | ||
| pop.c | ||
| pop.h | ||
| rcs2log | ||
| README | ||
| seccomp-filter.c | ||
| update-game-score.c | ||
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.