mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
5315e6e8d7
It’s not worth the porting hassle, and as the glibc manual says, “this function is generally a poor choice for processing strings”. * admin/merge-gnulib (GNULIB_MODULES): Remove stpncpy. * exec/configure.ac: Do not check for stpncpy. * exec/exec.c (rpl_stpncpy, stpncpy): Remove this replacement. (exec_0): Properly clear buffer1. Use memcpy instead of stpncpy to add the trailing name. This code is clearly still suboptimal but efficiency is not that important here and I tried to minimize the change. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate. |
||
---|---|---|
.. | ||
config-mips.m4.in | ||
config.guess | ||
config.sub | ||
configure.ac | ||
deps.mk | ||
exec1.c | ||
exec.c | ||
exec.h | ||
install-sh | ||
loader-aarch64.s | ||
loader-armeabi.s | ||
loader-mips64el.s | ||
loader-mipsel.s | ||
loader-x86_64.s | ||
loader-x86.s | ||
Makefile.in | ||
mipsel-user.h | ||
mipsfpu.c | ||
mipsfpu.h | ||
README | ||
test.c | ||
trace.c |
This directory holds the source code to a library used to replace the `execve' and `execveat' system calls, used by the Android port of Emacs to start executables without intervention from the system.