1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-18 20:10:31 -07:00
emacs/lib-src
Paul Eggert 824f784187 Prefer PATH_MAX to MAXPATHLEN
PATH_MAX is standardized, MAXPATHLEN is not.
Also, the Gnulib pathmax module fixes some rare bugs with PATH_MAX.
So prefer PATH_MAX to MAXPATHLEN unless we know the latter is
also correct (for some platform-specific code).
* admin/merge-gnulib (GNULIB_MODULES): Add pathmax.
This module was already present, as a dependency of canonicalize-lgpl,
but now Emacs is using it directly.  Sort.
* lib-src/emacsclient.c: Include stdint.h, pathmax.h.
(get_current_dir_name): Sync to current src/sysdep.c.
* lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
* src/sysdep.c: Include pathmax.h.
(get_current_dir_name_or_unreachable):
Use PATH_MAX instead of MAXPATHLEN.
2019-06-25 15:56:58 -07:00
..
ChangeLog.1
COPYING
ctags.c
ebrowse.c
emacsclient.c Prefer PATH_MAX to MAXPATHLEN 2019-06-25 15:56:58 -07:00
etags.c Avoid some strlen work, primarily via strnlen 2019-06-25 14:55:08 -07:00
hexl.c
make-docfile.c
make-fingerprint.c
Makefile.in
movemail.c
ntlib.c
ntlib.h
pop.c Avoid some strlen work, primarily via strnlen 2019-06-25 14:55:08 -07:00
pop.h
rcs2log
README
update-game-score.c Avoid some strlen work, primarily via strnlen 2019-06-25 14:55:08 -07: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.