1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00
emacs/m4
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
..
__inline.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
00gnulib.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
absolute-header.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
acl.m4 Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
alloca.m4 Update from Gnulib 2019-03-10 23:05:30 -07:00
builtin-expect.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
byteswap.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
canonicalize.m4 Fix locating pdump by symlink 2019-06-23 18:19:08 -07:00
clock_time.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
close-stream.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
copy-file-range.m4 Use copy_file_range to copy files 2019-06-07 00:44:45 -07:00
count-leading-zeros.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
count-one-bits.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
count-trailing-zeros.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
d-type.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
dirent_h.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
dirfd.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
double-slash-root.m4 Fix locating pdump by symlink 2019-06-23 18:19:08 -07:00
dup2.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
eealloc.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
environ.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
errno_h.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
euidaccess.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
execinfo.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
explicit_bzero.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
extensions.m4 Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
extern-inline.m4 Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
faccessat.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
fcntl_h.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
fcntl.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
fdopendir.m4 Update from Gnulib. 2019-03-25 14:55:49 -07:00
filemode.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
flexmember.m4 Update from Gnulib 2019-05-29 16:34:57 -07:00
fpending.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
fpieee.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
fstatat.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
fsusage.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
fsync.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
getdtablesize.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
getgroups.m4 Update from Gnulib. 2019-03-25 14:55:49 -07:00
getloadavg.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
getopt.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
gettime.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
gettimeofday.m4 Update from Gnulib. 2019-03-25 14:55:49 -07:00
glibc21.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
gnulib-common.m4 Update from Gnulib. 2019-03-25 14:55:49 -07:00
gnulib-comp.m4 Prefer PATH_MAX to MAXPATHLEN 2019-06-25 15:56:58 -07:00
group-member.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
ieee754-h.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
include_next.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
inttypes.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
largefile.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
limits-h.m4 Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
localtime-buffer.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
longlong.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
lstat.m4 Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
malloca.m4 Fix locating pdump by symlink 2019-06-23 18:19:08 -07:00
manywarnings.m4 Update from Gnulib 2019-05-03 12:17:31 -07:00
mbstate_t.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
md5.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
memmem.m4 Replace executable’s fingerprint in place 2019-04-14 17:06:09 -07:00
memrchr.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
minmax.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
mkostemp.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
mktime.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
mode_t.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
multiarch.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
nocrash.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
nstrftime.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
off_t.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
open-cloexec.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
open.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
pathmax.m4 Fix locating pdump by symlink 2019-06-23 18:19:08 -07:00
pipe2.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
pkg.m4 Merge from pkg-config 2018-02-11 13:10:41 -08:00
pselect.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
pthread_sigmask.m4 Update from Gnulib 2019-05-29 16:34:57 -07:00
putenv.m4 Update from Gnulib. 2019-03-25 14:55:49 -07:00
readlink.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
readlinkat.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
regex.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
sha1.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
sha256.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
sha512.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
sig2str.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
signal_h.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
socklen.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
ssize_t.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
st_dm_mode.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
stat-time.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
std-gnu11.m4 Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
stdalign.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
stddef_h.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
stdint.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
stdio_h.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
stdlib_h.m4 Update from Gnulib 2019-02-02 13:15:10 -08:00
stpcpy.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
string_h.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
strnlen.m4 Avoid some strlen work, primarily via strnlen 2019-06-25 14:55:08 -07:00
strtoimax.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
strtoll.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
symlink.m4 Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
sys_select_h.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
sys_socket_h.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
sys_stat_h.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
sys_time_h.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
sys_types_h.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
tempname.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
time_h.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
time_r.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
time_rz.m4 Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
timegm.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
timer_time.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
timespec.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
tm_gmtoff.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
unistd_h.m4 Update from Gnulib 2019-06-07 00:44:45 -07:00
unlocked-io.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
utimens.m4 Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
utimes.m4 Update from Gnulib. 2019-03-25 14:55:49 -07:00
vararrays.m4 Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
warnings.m4 Update from Gnulib 2018-12-31 18:20:07 -08:00
wchar_t.m4 Update copyright year to 2019 2019-01-01 01:01:13 +00:00