mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 22:40:51 -08:00
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 | ||
| exec.c | ||
| exec.h | ||
| exec1.c | ||
| install-sh | ||
| loader-aarch64.s | ||
| loader-armeabi.s | ||
| loader-mips64el.s | ||
| loader-mipsel.s | ||
| loader-x86.s | ||
| loader-x86_64.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.