Commit Graph

1315 Commits

Author SHA1 Message Date
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
Jordan K. Hubbard
af481cbbf4 Turn this into legal texinfo. Since I don't know what the author
intended (and clearly, neither did the author :) I've just used the
bullet list attribute everywhere.
1997-01-13 05:02:49 +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
24f481e12f Patch up the readline info building. This one is a bit of a problem
since the source name is not the same as the texinfo name so we have to
use SRCS=.  This means we can't build two info sets in the same directory
so I've split it.
1997-01-12 08:10:55 +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
Peter Wemm
b80cceb72f Disconnect the doc subdir until somebody fixes this. I don't see how this
could possibly have worked during the testing before the last commit. :-(
1997-01-12 05:01:29 +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
63c9b0f9ee Same. 1997-01-11 05:45:40 +00:00
Joshua Peck Macdonald
00e161baed Same. This wasn't installed before either. 1997-01-11 04:07:35 +00:00
Joshua Peck Macdonald
0c6dc986d0 Same. 1997-01-11 04:03:05 +00:00
Joshua Peck Macdonald
d49ce3c9e1 Same. This wasn't even in the old dir file. 1997-01-11 03:58:39 +00:00
Joshua Peck Macdonald
11a399494c Same. 1997-01-11 03:52:45 +00:00
Joshua Peck Macdonald
9f716d6403 Same deal. 1997-01-11 03:50:21 +00:00
Joshua Peck Macdonald
ae0f6792aa Same deal. 1997-01-11 03:41:14 +00:00
Joshua Peck Macdonald
976aabbe02 Same thing. 1997-01-11 03:32:01 +00:00
Joshua Peck Macdonald
c99a979d99 Forgot a TAB. 1997-01-11 03:31:08 +00:00
Joshua Peck Macdonald
b0321ca170 Same thing. 1997-01-11 03:26:53 +00:00
Joshua Peck Macdonald
a4ec48ef58 Getting tired of writing same thing. 1997-01-11 03:24:24 +00:00
Joshua Peck Macdonald
97d7a9e33f Added section and entry annotations. 1997-01-11 03:19:32 +00:00
Joshua Peck Macdonald
20307d5eea Add missing info section name. 1997-01-11 03:11:35 +00:00
Joshua Peck Macdonald
0e4dbbc03c Add the missing annotations. 1997-01-11 03:07:52 +00:00
Joshua Peck Macdonald
dfc62077a2 Add the missing annotations. 1997-01-11 02:59:52 +00:00
Joshua Peck Macdonald
c60f669c14 Clearing out the old stuff, its all in contrib now. 1997-01-11 02:32:23 +00:00
John Polstra
775f9cd54d For "ldd -v", print shared object dependencies that were specified as
pathnames (rather than as "-lfoo") correctly.
Closes PR bin/2404.
1997-01-10 02:51:00 +00:00
Mike Pritchard
00f7ecb490 Fix some file descriptor leaks. Closes PR# 2392.
2.2 candidate.
1997-01-09 14:50:42 +00:00
Satoshi Asami
f654421bef Typo, "%d" -> "%s". This caused tar to print things like
tar: Can't change to directory 282656 : No such file or directory
1997-01-07 10:43:40 +00:00
Jordan K. Hubbard
1e97817fad Remove bogus redeclaration of setenv().
Fixes make world failure #3 for today (part of an ongoing series).
1997-01-07 06:26:19 +00:00
Jordan K. Hubbard
655ad55f9c Fix bogosity with gdb documentation path.
Submitted-By: Chuck Robey <chuckr@glue.umd.edu> (with fix from me)
1997-01-07 04:41:18 +00:00
Andrey A. Chernov
8ef1c5d67a Add -f to ln 1997-01-06 19:27:17 +00:00
Andrey A. Chernov
42446c543a Use contrib version now 1997-01-05 16:19:58 +00:00
Bruce Evans
fd0a86436e Use ${COPY} instead of -C for installing non-source files. crt*.o
should be installed using the same flag as libraries, but ${COPY}
is currently used for libraries.
1997-01-01 04:52:55 +00:00
Bruce Evans
015a0dc2e4 Use ${COPY} instead of -c for installing non-source files. 1997-01-01 04:22:23 +00:00
Steven Wallace
43d7fd0390 Fix spelling error in manpage. 1996-12-26 21:51:09 +00:00
Joerg Wunsch
65fb557e51 Pull the fix from rev 1.31.2.1; i've accidentally committed it to
2.2 first.
1996-12-26 18:47:11 +00:00
Poul-Henning Kamp
328f21ee08 Remove a couple of private malloc() implementations, one of which
was unused afterall.
1996-12-23 20:21:35 +00:00
Andrey A. Chernov
9730ef2973 Even more buffer overflow fixes
Change CATMODE to 0644, because group man not used
Add immutable sbit to man binary, so if user even got man uid,
he can't replace man binary with fake one

Should go to 2.2

Submitted by: Marc Slemko <marcs@znep.com> with small editing by me
1996-12-19 10:45:16 +00:00
Andrey A. Chernov
7a81e58e55 Fix many buffer overflows, sprintf -> snprintf
Fix manpath dirs count overflow

Should be in 2.2
1996-12-18 20:55:26 +00:00
Andrey A. Chernov
a49b39f8d4 Fix my popen fix: conditionalize saving/restoring of euid
Should be in 2.2
1996-12-18 20:07:49 +00:00
Andrey A. Chernov
64919fdd33 Drop man priveledges before popen and restore them after it, because
it is possible to execute system command from f.e groff

Should be in 2.2
1996-12-18 19:46:21 +00:00
Mike Pritchard
487990280d Correct some xrefs/mlinks. 1996-12-14 23:27:20 +00:00
Jordan K. Hubbard
fac5450c4f Somewhere along the way, multiple targets started working and nobody
noticed.
1996-12-14 16:40:05 +00:00