freebsd-nq/libexec
John Polstra 6210388a93 Make emacs work again. This is a workaround for the fact that the
emacs a.out file, self-generated by emacs's "unexec" function in
"unexsunos4.c", is invalid.  In particular, its "_end" symbol has
the wrong value.  The dynamic linker was using the value of that
symbol to initialize its sbrk break level.

The workaround is to peek at the executable's a.out header in
memory, and calculate what "_end" should be based on the segment
sizes.

I will work out a fix for emacs and send it to the FSF.  This
dynamic linker workaround is still worthwhile, if only to avoid
forcing all emacs users to build a new version.

Note: xemacs gives a bogus warning at startup, for related reasons.
The warning is harmless and can safely be ignored.  I will send a
patch to the xemacs maintainers to get rid of it, and meanwhile
add a patch file to our port.
1997-12-05 02:06:37 +00:00
..
atrun Cosmetic in error strings. Sort Xrefs. Add usage (with syslog capability). 1997-11-20 07:21:55 +00:00
bootpd Fix description of -t option. 1997-08-24 18:21:34 +00:00
comsat Use err(3). exit(-1) -> exit(1). 1997-11-20 07:23:44 +00:00
fingerd Add const to copyright string. Put sccsid under #if 0/#endif control. 1997-11-20 07:26:04 +00:00
ftpd FTP_INTERNAL_LS -> FTPD_INTERNAL_LS 1997-12-04 03:58:02 +00:00
getNAME Use err(3). -Wall cleaning. 1997-11-21 07:40:48 +00:00
getty Correct incompletes .Xrs. Remove duplicate #includes and unused variables. 1997-11-21 07:43:53 +00:00
lfs_cleanerd Use err(3) instead of local redefinition. Add usage. -Wall cleaning. 1997-11-24 07:27:06 +00:00
mail.local Switch the effective uid to that of the user when writing mail files, 1997-11-13 23:14:34 +00:00
makekey Key is 8 bytes according to code, not 10 as stated in man page. Add rcsid. 1997-11-24 07:29:12 +00:00
mknetid Cosmetics in usage() and man page. 1997-11-24 07:31:31 +00:00
named-xfer Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +00:00
rbootd Add usage(), rcsids. 1997-11-24 07:33:42 +00:00
revnetgroup Use warn(3). Hardcode progname instead of using argv[0]. Use Pa for file 1997-11-25 07:14:34 +00:00
rexecd Use err(3). -Wall cleaning. Use Pa for file names and add section in Xrefs. 1997-11-26 07:29:04 +00:00
rlogind Sort #includes. Add rcsid. Add man page section in .Xrefs. 1997-11-25 07:17:15 +00:00
rpc.rquotad Cosmetics in man page. Add rcsid and sort #includes. 1997-11-26 07:31:14 +00:00
rpc.rstatd Remove \n at end of syslog string. -Wall cleaning. Cosmetics in man page. 1997-11-26 07:34:56 +00:00
rpc.rusersd Use err(3). -Wall cleaning. cosmetics in man page. 1997-11-26 07:36:51 +00:00
rpc.rwalld Document -n flag. Use err(3). Add usage. 1997-12-02 12:20:17 +00:00
rpc.sprayd Do not terminate syslog() messages with a dot, as others daemons do. 1997-12-02 12:25:39 +00:00
rshd No \n in syslog() strings. Add man page to Xrefs. Change null byte to NUL byte. 1997-12-02 12:30:04 +00:00
rtld-aout Make emacs work again. This is a workaround for the fact that the 1997-12-05 02:06:37 +00:00
rtld-elf spelling corrections. 1997-09-13 16:01:53 +00:00
talkd Use err(3). Add protos for -Wall. 1997-12-02 12:33:42 +00:00
telnetd Use err(3). Remove progname and trailing \n in syslog strings. 1997-12-03 07:16:08 +00:00
tftpd Use full path in synopsis. Syslog will add trailing \n. 1997-12-03 07:19:58 +00:00
uucpd Sort #includes. Add rcsid. Use full pathname in SYNOPSIS section. 1997-12-04 07:20:45 +00:00
xtend Use err(3). Add prototypes. Document that startup scripts are rc.i386 and 1997-12-04 07:25:19 +00:00
ypxfr Putting records with zero-length keys into a Berkeley DB hash database 1997-09-30 18:08:11 +00:00
Makefile Changes for KTH KerberosIV. 1997-09-28 09:07:34 +00:00
Makefile.inc BSD 4.4 Lite Libexec Sources 1994-05-27 12:39:25 +00:00