Commit Graph

936 Commits

Author SHA1 Message Date
Andrey A. Chernov
bd4a628870 Fix srandom arg type according to Lite2 1997-03-11 14:25:10 +00:00
Bruce Evans
e2a82ece46 Fixed style bugs in install rule (afterinstall -> beforeinstall, etc).
Removed stale comment.
1997-03-09 07:27:18 +00:00
Mike Pritchard
6d9688a364 Fix a number of typos, one of which is part of PR# 2917. 1997-03-09 00:33:19 +00:00
Bruce Evans
68c2b4ec81 Don't use a dot in the chown commands. In fact, don't use any commands
except `install'.  Changed $() to ${}.  Don't use the afterinstall target
(it is only for things that must be done after the install target is
built).
1997-03-08 19:28:07 +00:00
Bruce Evans
388fb3082e Fixed substitution of @TMAC_S_PREFIX@ and @TMAC_M_PREFIX@. 1997-03-08 19:06:23 +00:00
Wolfram Schneider
3f5556675d Bugfix for man pages created by perlpod(1).
Submitted by: Slaven Reziæ (Tomiæ) <eserte@cs.tu-berlin.de>
1997-03-01 15:20:50 +00:00
Joerg Wunsch
1365d7de03 Plug an old security hole: suidperl didn't honor MNT_NOSUID.
Strong 2.2 and 2.1.x candidate.  Someone should review the patch before,
however.

The maintainer of the Perl5 port should probably introduce a similar patch
there.
1997-03-01 12:58:49 +00:00
Mike Pritchard
aaefaad330 Don't set the umask until after we have processed the arguments
and opened the archive file.  This allows "cpio -o -O output_file"
to create the output file with the callers proper umask.
Closes PR# 1391.
1997-02-25 06:11:19 +00:00
Peter Wemm
fce15c9ab3 Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
Bruce Evans
b067dd150c Oops, the last commit shouldn't have removed floatformat.c. 1997-02-15 16:24:41 +00:00
Bruce Evans
3b81404039 Don't use the private version of vasprintf(). It doesn't understand
"%%" in format strings and tends to dump core for "%%st".  I needed
"%%st" to fix the new gdb ...

Don't use the private version of strerror() either.

Use INTERNALLIB and INTERNALSTATICLIB instead of a private install
rules NOPROFILE and NOPIC.  This is only slightly cleaner.
INTERNALLIB was previously only used in compatibility libraries
(libgnumalloc etc.) and INTERNALSTATICLIB was previously unused.
INTERNAL*LIB probably should be replaced by something like NOSTATICO
together with NO{STATICO,PROFILE,PIC}INSTALL.
1997-02-15 16:14:52 +00:00
John-Mark Gurney
53e3a4a22c Fix a problem with patch in that is will always default, even when the
controlling terminal is closed.  Now the function ask() will return 1 when th
input is known to come from a file or terminal, or it will return 0 when ther
was a read error.

Modified the question "Skip patch?" so that on an error from ask it will skip
the patch instead of looping.

Closes PR#777

2.2 candidate
1997-02-13 21:10:45 +00:00
Joerg Wunsch
424b33477f Reorder the default man sections.
2.2 candidate?
1997-02-09 14:10:31 +00:00
Wolfram Schneider
a98e5d2939 Check return value from system() function.
Pointed out some months ago by: Bruce
1997-02-08 22:36:11 +00:00
John Polstra
1c1acfc9f0 Correct the recommended option for "find" from "-depth" to "-d". 1997-02-08 21:47:55 +00:00
Mike Pritchard
ae3d652021 Don't force postscript output when "man -t" is specified.
Closes PR# 2661.

Submitted by:	 John-Mark Gurney <gurney_j@efn.org>
1997-02-05 14:22:13 +00:00
John Polstra
725f849afd Fix a bug involving alias (N_INDR) symbols. When building a shared
library with a shared object dependency that contained alias symbols,
the linker incorrectly counted the number of symbols that would be
written, resulting in a fatal internal error.  Since our libc now
contains some alias symbols (in "net/res_stubs.c"), this was
sufficient to tickle the bug:  "ld -Bshareable foo.so -lc".  To
fix it, I moved the accounting of alias symbols to a later point
in the processing, where it is possible to count only those symbols
that will actually be written to the output file.

This fix is well-confined to affect alias symbols only.  I have
tested it with a full "make world".  I am going to merge it into
-2.2 after a few more days of living with it in -current.
1997-02-01 20:28:38 +00:00
John Polstra
18be4a71df Use xmalloc instead of malloc in two places, so that out-of-memory
conditions will be detected.

Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
1997-01-24 00:07:03 +00:00
Jordan K. Hubbard
211253fcfd Remove incorrect use of double-negative since it means the same thing
to make but perhaps not to the human reading it.
1997-01-21 18:16:02 +00:00
John Polstra
ac6c268b3d Pay attention to the environment variable "LD_IGNORE_MISSING_OBJECTS".
If it is set to a nonempty string, then simply skip any missing
shared libraries.  This came up in a discussion long ago as a
potentially useful feature at sysinstall time.  For example, an
X11 utility could be used without the X libraries being present,
provided the utility had a mode in which no X functions were actually
called.
1997-01-17 20:22:18 +00:00
John Polstra
1a85659d68 Add back the description of the "-v" option. It seems to have been
lost in the conflict resolution leading up to revision 1.4.
2.2 candidate.
1997-01-17 17:36:22 +00:00
Jordan K. Hubbard
cb0a6fc85f Remove -lmalloc; it's no longer relevant.
Pointed-Out-By: jdp, dima and others.
1997-01-17 06:32:35 +00:00
Andrey A. Chernov
7ebc4b10b2 Use SRCDIR instead of PATH 1997-01-16 18:14:44 +00:00
Andrey A. Chernov
0f3a42ea07 Simplify using SRCDIR 1997-01-16 18:11:49 +00:00
Andrey A. Chernov
1955e810ab Use SRCDIR instead of PATH 1997-01-16 18:05:28 +00:00
Andrey A. Chernov
1d31680ea6 Simplify it using SRCDIR 1997-01-16 17:58:14 +00:00
Gary Jennejohn
753f57aff1 Remove mmalloc since we're now using phkmalloc. This is made possible
by the -DNO_MMALLOC flag in gdb/Makefile.

The one thing we lose by doing this, AFAIK, is the possibility of using
mmap. Does anyone use that feature at all ?

2.2 candidate ?
1997-01-15 22:47:36 +00:00
Gary Jennejohn
9d5922197f Changes required in directory libiberty to make gdb from the sources in
/usr/src/contrib/gdb.

This is based on /usr/ports/devel/gdb.

2.2 candidate ?
1997-01-15 22:43:15 +00:00
Gary Jennejohn
69a0423e5e The files in gdb/elf are now grabbed from /usr/src/contrib/gdb/include/elf.
This also applies to the last 2 commits for aout and coff. Oops !

This is based on /usr/ports/devel/gdb.

2.2 candidate ?
1997-01-15 22:41:13 +00:00
Gary Jennejohn
86cf61adfa The files in gdb/coff are now grabbed from /usr/src/contrib/gdb/coff.
This is based on /usr/ports/devel/gdb.

2.2 candidate ?
1997-01-15 22:39:08 +00:00
Gary Jennejohn
06e8c5e416 The files in gdb/aout are now grabbed from /usr/src/contrib/gdb/aout.
This is based on /usr/ports/devel/gdb.

2.2 candidate ?
1997-01-15 22:38:29 +00:00
Gary Jennejohn
86dd30cb93 changes required in the gdb directory for making gdb
using the sources in /usr/src/contrib/gdb.

This is based on /usr/ports/devel/gdb.

2.2 candidate ?
1997-01-15 22:37:09 +00:00
Gary Jennejohn
e5b4c7e3b4 changes required in the doc directory for making the gdb info
files using the texi sources in /usr/src/contrib/gdb/gdb/doc.

I put a pointer to /usr/src/contrib/libreadline/doc into
Makefile.inc in the hope that the appropriate files would be
picked up.

This is based on /usr/ports/devel/gdb.

2.2 candidate ?
1997-01-15 22:33:16 +00:00
Gary Jennejohn
ea2fdd1095 changes required in the bfd directory for making gdb
using the sources in /usr/src/contrib/gdb.

This is based on /usr/ports/devel/gdb.

2.2 candidate ?
1997-01-15 22:28:25 +00:00
Gary Jennejohn
2ead490eea changes required in the top-level directory for making gdb
using the sources in /usr/src/contrib/gdb.

This is based on /usr/ports/devel/gdb.

2.2 candidate ?
1997-01-15 22:26:11 +00:00
John Polstra
20995a4fcc If a library is found in the hints file, but the library doesn't exist,
ignore the hint.

This is a straightforward fix, and it should go into 2.2 after a burn-in
period of a few days.

Noticed by:	bde
1997-01-14 17:53:55 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Jordan K. Hubbard
40129270e0 Back out previous fix. It was bogus. 1997-01-13 10:55:49 +00:00
Jordan K. Hubbard
85ea234ffe Install a dir file if one doesn't exist. This seems the most likely
place to do it, I guess, and it's the utility which falls over without one.
1997-01-13 09:54:38 +00:00
Wolfram Schneider
af20215665 Sort cross references. 1997-01-13 00:25:51 +00:00
John Polstra
d956f8a388 Use the RTLD_NOW symbol, now that it is defined in <dlfcn.h>. 1997-01-12 19:59:26 +00:00
Peter Wemm
81348c186e Don't conflict with INFODIR?=${SHAREDIR}/info from the system Makefiles 1997-01-12 07:36:43 +00:00
Peter Wemm
076bf094bc Make this (hopefully) build now. There was no dir entry. 1997-01-12 07:18:05 +00:00
Peter Wemm
d42e7f260f Fix path to readline docs, since it's now in contrib 1997-01-12 06:33:27 +00:00
John Polstra
aeea55e459 Correct typos and spelling errors. 1997-01-12 00:19:14 +00:00
John Polstra
0db65949ae Add support for the LD_BIND_NOW environment variable. If it is set to a
nonempty string, then function calls are relocated at program start-up
rather than lazily.  This variable is standard on Sun and SVR4 systems.

The dlopen() function now supports both lazy and immediate binding, as
determined by its "mode" argument, which can be either 1 (RTLD_LAZY) or
2 (RTLD_NOW).  I will add defines of these symbols to <dlfcn.h> as soon
as I've done a little more checking to make sure they won't cause
collisions or bootstrapping problems that would break "make world".

The "LD_*" environment variables which alter dynamic linker behavior are
now treated as unset if they are set to the empty string.  This agrees
with the standard SVR4 conventions for the dynamic linker.

Add a work-around for programs compiled with certain buggy versions of
crt0.o.  The buggy versions failed to set the "crt_ldso" member of the
interface structure.  This caused certain error messages from the
dynamic linker to begin with "(null)" instead of the pathname of the
dynamic linker.
1997-01-12 00:16:36 +00:00
John Polstra
18c0f29eaa Set LD_TRACE_LOADED_OBJECTS to "1" instead of to "". The dynamic linker
now treats empty "LD_*" environment variables as if they were unset, per
the standard SVR4 conventions.
1997-01-12 00:10:57 +00:00
John Polstra
d3c677c7e0 Add support for the LD_BIND_NOW environment variable. If it is set to a
nonempty string, then function calls are relocated at program start-up
rather than lazily.  This variable is standard on Sun and SVR4 systems.

The dlopen() function now supports both lazy and immediate binding, as
determined by its "mode" argument, which can be either 1 (RTLD_LAZY) or
2 (RTLD_NOW).  I will add defines of these symbols to <dlfcn.h> as soon
as I've done a little more checking to make sure they won't cause
collisions or bootstrapping problems that would break "make world".
1997-01-12 00:09:11 +00:00
Joshua Peck Macdonald
c83a75eb30 Changes to make ld demangle C++ symbol names before printing
error messages containing them.

Reviewed by:	Peter Wemm
1997-01-11 05:51:03 +00:00
Joshua Peck Macdonald
00e161baed Same. This wasn't installed before either. 1997-01-11 04:07:35 +00:00