• Paul Eggert's avatar
    Replace executable’s fingerprint in place · 5c2f94a1
    Paul Eggert authored
    * admin/merge-gnulib (GNULIB_MODULES): Add memmem-simple.
    (AVOIDED_MODULES): Add memchr.
    * configure.ac (HAVE_PDUMPER): AC_SUBST it, too, for use in makefiles.
    * lib/Makefile.in (libgnu_a_OBJECTS): Add fingerprint.o.
    * lib/fingerprint.c: New file.
    * lib/memmem.c, lib/str-two-way.h, m4/memmem.m4: New files,
    copied from Gnulib.
    * lib/fingerprint.h: Rename from src/fingerprint.h.
    * lib-src/make-fingerprint.c: Include limits.h, sys/stat.h,
    fingerprint.h, intprops.h, min-max.h.
    (SSIZE_MAX): New macro, if not already defined.
    (main): Without -r, Replace the fingerprint in the input file
    instead of generating a fingerprint.c.
    * lib/Makefile.in (libgnu_a_OBJECTS): Add fingerprint.o.
    * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
    * src/Makefile.in (HAVE_PDUMPER, MAKE_PDUMPER_FINGERPRINT):
    New macros.
    (temacs$(EXEEXT)): Use them to replace the fingerprint instead
    of precalculating it.
    (mostlyclean, ctagsfiles1): Do not worry about fingerprint.c.
    5c2f94a1
Name
Last commit
Last update
..
00gnulib.m4 Loading commit data...
__inline.m4 Loading commit data...
absolute-header.m4 Loading commit data...
acl.m4 Loading commit data...
alloca.m4 Loading commit data...
builtin-expect.m4 Loading commit data...
byteswap.m4 Loading commit data...
clock_time.m4 Loading commit data...
close-stream.m4 Loading commit data...
count-leading-zeros.m4 Loading commit data...
count-one-bits.m4 Loading commit data...
count-trailing-zeros.m4 Loading commit data...
d-type.m4 Loading commit data...
dirent_h.m4 Loading commit data...
dirfd.m4 Loading commit data...
dup2.m4 Loading commit data...
eealloc.m4 Loading commit data...
environ.m4 Loading commit data...
errno_h.m4 Loading commit data...
euidaccess.m4 Loading commit data...
execinfo.m4 Loading commit data...
explicit_bzero.m4 Loading commit data...
extensions.m4 Loading commit data...
extern-inline.m4 Loading commit data...
faccessat.m4 Loading commit data...
fcntl.m4 Loading commit data...
fcntl_h.m4 Loading commit data...
fdopendir.m4 Loading commit data...
filemode.m4 Loading commit data...
flexmember.m4 Loading commit data...
fpending.m4 Loading commit data...
fpieee.m4 Loading commit data...
fstatat.m4 Loading commit data...
fsusage.m4 Loading commit data...
fsync.m4 Loading commit data...
getdtablesize.m4 Loading commit data...
getgroups.m4 Loading commit data...
getloadavg.m4 Loading commit data...
getopt.m4 Loading commit data...
gettime.m4 Loading commit data...
gettimeofday.m4 Loading commit data...
glibc21.m4 Loading commit data...
gnulib-common.m4 Loading commit data...
gnulib-comp.m4 Loading commit data...
group-member.m4 Loading commit data...
ieee754-h.m4 Loading commit data...
include_next.m4 Loading commit data...
inttypes.m4 Loading commit data...
largefile.m4 Loading commit data...
limits-h.m4 Loading commit data...
localtime-buffer.m4 Loading commit data...
longlong.m4 Loading commit data...
lstat.m4 Loading commit data...
manywarnings.m4 Loading commit data...
mbstate_t.m4 Loading commit data...
md5.m4 Loading commit data...
memmem.m4 Loading commit data...
memrchr.m4 Loading commit data...
minmax.m4 Loading commit data...
mkostemp.m4 Loading commit data...
mktime.m4 Loading commit data...
mode_t.m4 Loading commit data...
multiarch.m4 Loading commit data...
nocrash.m4 Loading commit data...
nstrftime.m4 Loading commit data...
off_t.m4 Loading commit data...
open-cloexec.m4 Loading commit data...
open.m4 Loading commit data...
pipe2.m4 Loading commit data...
pkg.m4 Loading commit data...
pselect.m4 Loading commit data...
pthread_sigmask.m4 Loading commit data...
putenv.m4 Loading commit data...
readlink.m4 Loading commit data...
readlinkat.m4 Loading commit data...
regex.m4 Loading commit data...
sha1.m4 Loading commit data...
sha256.m4 Loading commit data...
sha512.m4 Loading commit data...
sig2str.m4 Loading commit data...
signal_h.m4 Loading commit data...
socklen.m4 Loading commit data...
ssize_t.m4 Loading commit data...
st_dm_mode.m4 Loading commit data...
stat-time.m4 Loading commit data...
std-gnu11.m4 Loading commit data...
stdalign.m4 Loading commit data...
stddef_h.m4 Loading commit data...
stdint.m4 Loading commit data...
stdio_h.m4 Loading commit data...
stdlib_h.m4 Loading commit data...
stpcpy.m4 Loading commit data...
string_h.m4 Loading commit data...
strtoimax.m4 Loading commit data...
strtoll.m4 Loading commit data...
symlink.m4 Loading commit data...
sys_select_h.m4 Loading commit data...
sys_socket_h.m4 Loading commit data...
sys_stat_h.m4 Loading commit data...
sys_time_h.m4 Loading commit data...
sys_types_h.m4 Loading commit data...
tempname.m4 Loading commit data...
time_h.m4 Loading commit data...
time_r.m4 Loading commit data...
time_rz.m4 Loading commit data...
timegm.m4 Loading commit data...
timer_time.m4 Loading commit data...
timespec.m4 Loading commit data...
tm_gmtoff.m4 Loading commit data...
unistd_h.m4 Loading commit data...
unlocked-io.m4 Loading commit data...
utimens.m4 Loading commit data...
utimes.m4 Loading commit data...
vararrays.m4 Loading commit data...
warnings.m4 Loading commit data...
wchar_t.m4 Loading commit data...