Commit Graph

1553 Commits

Author SHA1 Message Date
wosch
0252661afa Use getopts instead getopt(1). This should fix the problem
with whitespaces in pattern.
PR:	5211
1997-12-07 01:00:56 +00:00
jdp
6301239883 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
steve
e3e30a5048 Remove manpath.[ch] here and use the ones in ../manpath instead. 1997-11-30 20:08:27 +00:00
steve
dc1750d03e Resurrect manpath.c here. 1997-11-30 19:55:16 +00:00
steve
874d6c6801 Remove this copy of manpath.c and add the .PATH directive to get to
the same file in ${.CURDIR}/../man.

Suggested by:	Bruce Evans
1997-11-30 17:17:29 +00:00
steve
6ee55c14c9 Always call gripe_reading_mp_config with the required arguments.
PR:		3894
Submitted by:	Stephen Clawson <sclawson@marker.cs.utah.edu>
1997-11-30 01:01:47 +00:00
jdp
e61aa81fab Get rid of the dynamic linker's internal malloc package, and arrange
things so that it uses the same malloc as is used by the program
being executed.  This has several advantages, the big one being
that you can now debug core dumps from dynamically linked programs
and get useful information out of them.  Until now, that didn't
work.  The internal malloc package placed the tables describing
the loaded shared libraries in a mapped region of high memory that
was not written to core files.  Thus the debugger had no way of
determining what was loaded where in memory.  Now that the dynamic
linker uses the application's malloc package (normally, but not
necessarily, the system malloc), its tables end up in the regular
heap area where they will be included in core dumps.  The debugger
now works very well indeed, thank you very much.

Also ...

Bring the program a little closer to conformance with style(9).
There is still a long way to go.

Add minimal const correctness changes to get rid of compiler warnings
caused by the recent const changes in <dlfcn.h> and <link.h>.

Improve performance by eliminating redundant calculations of symbols'
hash values.
1997-11-29 03:32:48 +00:00
jdp
81c1440f4f In the "ldd -v" output, display the N_AUX information for each
symbol.  It indicates whether the symbol refers to a function or a
data object.
1997-11-28 19:34:27 +00:00
bde
21651f8398 Implemented "info float" for core files.
Implemented reading of %fs and %gs from core files.

Print weird floating point values better.  We have to convert long
doubles to doubles here because of limitations and bugs in printf()
and floatformat_to_double() (long doubles aren't really supported
and naive converion to double causes exceptions).  Conversion loses
information about weird formats (everything becomes a quiet NaN),
and printf() doesn't know about different types of NaNs anyway.
1997-11-23 09:18:18 +00:00
jdp
8a7bf8aff1 Add missing argument detected by "-Wformat". 1997-11-18 03:37:45 +00:00
ache
45d91efdec Define PR_PROGRAM properly 1997-10-29 17:35:54 +00:00
ache
92a284b53f Switch to contrib version 1997-10-29 16:58:20 +00:00
ache
cdf50dc961 Switch to contrib version 1997-10-29 16:50:42 +00:00
ache
b1e567feab Switch to contrib version 1997-10-29 16:36:57 +00:00
jraynard
137f5fa8c3 Remove yet another superfluous file. 1997-10-26 12:53:16 +00:00
ache
b1616f974c Add -funsigned-char to CFLAGS (for ctype macros) 1997-10-26 12:20:45 +00:00
ache
11e6b28c31 Add (unsigned char) cast to ctype macros 1997-10-23 02:44:23 +00:00
ache
1252945e3a Add (unsigned char) cast to ctype macros 1997-10-23 02:22:51 +00:00
ache
43e60f18dd Add unsigned char cast to ctype macros 1997-10-23 02:08:16 +00:00
ache
c722721f8f Add (unsigned char) casts to ctype macros 1997-10-23 01:43:00 +00:00
jraynard
00f77bac6a <gnuregex.h> is rather old and breaks AWK's regex matching. Use a newer
version instead.
1997-10-19 13:39:55 +00:00
ache
9bf78b0184 Do not use gawk random, we have better one in libc 1997-10-15 14:01:31 +00:00
jraynard
f239670138 Makefile for contributed version of awk. 1997-10-14 18:32:38 +00:00
jraynard
6db12e8fe9 Remove old version of awk. 1997-10-14 18:29:32 +00:00
jkh
90cf2421d2 Fix improperly re-entrant code which caused the menu spammage we've
been seeing since 2.2.1.
Pointed-in-the-right-direction by:	phk
1997-10-12 12:09:46 +00:00
peter
18a6945684 #include <machine/tss.h> explicitly 1997-10-10 12:53:27 +00:00
peter
a6fd7f3f17 If kerberos is installed and enabled in make.conf, activate cvs's kserver
hooks.  This is a lot safer than 'cvs pserver'.
1997-10-10 04:03:17 +00:00
joerg
5029fdebbe Include optional support for HDB-style config files, so the true masochists
can get their rights as well. ;-)  The default remains, of course, Taylor
config.

Demanded by:	some people on -hackers

I think this is safe enough to go into RELENG_2_2 as well, if there's
demand.
1997-10-07 07:23:28 +00:00
jkh
418d0a6a92 Changes to support full make parallelism (-j<n>) in the world
target.
Reviewed by:	<many different folks>
Submitted by:	Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
1997-10-05 09:40:24 +00:00
joerg
ecd56b1d73 Nevermind... Wolfram already did it, but added the file (IMHO wrong)
to the contrib area so i didn't see it.
NB: RELENG_2_2 is still missing it (what's why i didn't see it in the
first place).
1997-09-29 14:27:55 +00:00
joerg
cf15aea388 Add a stub man page for psroff(1). 1997-09-29 14:24:35 +00:00
peter
ad28c59277 _G_VTABLE_LABLE_PREFIX is different between ELF and a.out
('_vt.' vs '__vt$')
1997-09-20 09:58:49 +00:00
phk
d8ac409160 Many places in the code NULL is used in integer context, where
plain 0 should be used.  This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.

PR:		2752
Submitted by:	Arne Henrik Juul <arnej@imf.unit.no>
1997-09-18 14:08:40 +00:00
joerg
7d18d9665b Sigh, there's always one more buffer overflow. :-(
This one hinted to by the recently posted exploit (although not exploited by
it).
1997-09-16 08:33:52 +00:00
wosch
b599049058 Add a genclass.1 manpage. 1997-09-15 19:18:59 +00:00
wosch
2e5c4c37e1 Add a simple manpage. 1997-09-15 16:08:56 +00:00
ache
2738d4da18 Fix neqn building:
1) Move it after Makefile.inc included since it uses DIST_DIR from there
2) Add neqn.sh dependance
1997-09-15 01:56:29 +00:00
wosch
2d9535139e Add a simple manpage. 1997-09-14 23:43:22 +00:00
wosch
060c353c20 Add some UUCP manpages. 1997-09-14 13:04:26 +00:00
wosch
a4edfd01f0 Add some UUCP manpages. 1997-09-13 21:44:49 +00:00
wosch
fde8a8ec46 spelling corrections.
PR: docs/4450
Submitted by: josh@quick.net
1997-09-13 16:01:53 +00:00
jdp
24ac227fe1 Touch up the code that implements "ldd -v".
Bring the style of sods.c into better conformance.  Add code to
print the contents of each datum being relocated.  Correct the logic
that distinguishes between programs, shared libraries, and object
files.  Make the entire program "-Wall" clean.
1997-09-02 21:54:39 +00:00
jmg
416e9a71f9 fix a few spelling changes
Submitted by: Josh Gilliam

Closes PR's: 4429, 4431-4438

PS: He has agreed to submit all contrib fixes back to the original author.
1997-08-30 12:22:49 +00:00
jmg
836bacca7c fix misspelling
Submitted-by: Josh Gilliam

Closes PR:4426
1997-08-30 11:08:06 +00:00
sos
c063323c3e Dont use an internal function called warn it clashes with libc.
Allows ELF compile.
1997-08-29 16:14:20 +00:00
peter
4ba5a2f4cf Insert first cut of hooks for compiling under ELF. 1997-08-29 14:02:14 +00:00
peter
e6477d723f Insert hooks for building under elf. 1997-08-29 13:58:08 +00:00
obrien
e9ee3ed37c Real skeleton manpage for install-info
(someone that actually knows what it really does (I don't use info) really
should try to put some meat in this)
1997-08-29 09:10:22 +00:00
joerg
1fa2fafd21 Major Ooops. I've overlooked a few calls to scanident() in my last commit.
Submitted by:	rbezuide@oskar.nanoteq.co.za (Reinier Bezuidenhout)
1997-08-27 17:18:30 +00:00
steve
4c965279b1 .Ar -l -> .Fl l
PR:		docs/3682
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-08-23 21:59:41 +00:00