Commit Graph

723 Commits

Author SHA1 Message Date
Poul-Henning Kamp
4fbec7bfd1 Make rules reentrant. 1996-05-28 00:34:38 +00:00
John Polstra
20c29c9fd8 Zero out an unused field in a structure that is written to the output
file.  The field formerly contained random garbage, leading to spurious
differences between otherwise identical executables and libraries.

Submitted by:	Bruce Evans <bde@freebsd.org>
1996-05-27 18:06:02 +00:00
Peter Wemm
37eb8f3805 Remove this version, it now comes from libc. 1996-05-27 11:02:40 +00:00
Jordan K. Hubbard
bdf70e6dd8 There's no -p flag to our diff. 1996-05-26 22:27:52 +00:00
Jordan K. Hubbard
cfbaf65d93 Fix some argument ordering and redundancy bogons. 1996-05-26 21:56:24 +00:00
Paul Traina
3ad4f8a0b7 Remove setuid bit, it's not necessary. 1996-05-22 15:53:38 +00:00
Paul Traina
ee8d2caadc Call groff directly instead of using nroff shell script.
Submitted by:	peter
1996-05-22 15:53:19 +00:00
John Polstra
1dd43c183e When checking to see whether a needed shared library has already
been loaded, look for a match by device and inode number if the
traditional pathname comparisons don't find a match.  This detects
the case in which a library is requested using two different names
which are really links to the same file, and avoids loading it
twice.

Requested by:	peter@freebsd.org
Reviewed by:	peter@freebsd.org
1996-05-22 06:34:12 +00:00
Wolfram Schneider
d1c1415248 New option -append: teach makewhatis to only add records, instead
of clobbering the entire database.

sort options in alphabetic order.

install manpage makewhatis.local.8
1996-05-22 00:57:42 +00:00
Wolfram Schneider
33d9c4e18e remove INFODIR?= /usr/share/info, already defined in bsd.own.mk 1996-05-22 00:29:40 +00:00
Wolfram Schneider
d16e1f5c68 remove SHAREDIR?=/usr/share, already defined in bsd.own.mk 1996-05-22 00:26:57 +00:00
Jordan K. Hubbard
8f4196ac5e Invoke proper gzip 1996-05-20 12:52:08 +00:00
Wolfram Schneider
60fa1b8390 Makewhatis appended the filename to list of keywords if no keyword
matched the filename. Now put the list after the filename. E.g.

filename: vt220keys.1
Keyword: vt220

was: vt220(1), vt220keys(1)   - define SHIFTED [...]
now: vt220keys(1), vt220(1)   - define SHIFTED [...]
1996-05-14 23:07:05 +00:00
Wolfram Schneider
7d732d1e4f Bugfix: nested *?+ in regexp at /usr/bin/makewhatis line 286
Submitted by: invalid opcode <coredump@nervosa.com>

makewhatis.local - start makewhatis(1) only for file systems
                   physically mounted on the system
Running makewhatis from /etc/weekly for rw nfs-mounted /usr may kill
your NFS server -- all clients start makewhatis at the same time!
So use this wrapper instead calling makewhatis directly.

Pointed out by: Bruce
1996-05-12 21:02:04 +00:00
Wolfram Schneider
63cdf05c43 faster
average 2-3 x
	for option -h or -q 10 x

handle option -q and -L

better exit status, similar to grep (0: matches found 1: no
matches found 2: error)
1996-05-12 16:20:26 +00:00
Wolfram Schneider
9fb933075e `mv'' -> `mv -f''
``rm'' -> ``rm -f''
so mv/rm may not ask for confirmation if you are not root
1996-05-07 23:19:49 +00:00
Poul-Henning Kamp
74de633578 PD_SHIFT -> PDRSHIFT
PGOFSET -> PAGE_MASK
1996-05-02 13:08:51 +00:00
Poul-Henning Kamp
1fa6b8217d NBPG -> PAGE_SIZE
Avoid using the struct pte stuff.
1996-05-02 09:42:45 +00:00
Joerg Wunsch
f1420840d1 Fix a bogon that prevented easy-import from inserting the new module
name in alphabetical order (broken by my previous commit).

Pointed out by: asami
1996-04-28 12:32:43 +00:00
John Polstra
55e214c197 When a local symbol that would normally be eliminated by "-x" or
"-X" must survive, because of references from relocations, don't
qualify the symbol name with the name of the input file.  This
saves some string space.  It makes libc_pic.a about 2.4% smaller.

Adapted from a suggestion by Bruce Evans.
1996-04-24 23:31:08 +00:00
Jordan K. Hubbard
4c043bb29e Change "Found end of tape. Load next tape ..." messages to say
"volume" instead of tape.  Running cpio off of /dev/fd0 and having
it say "give me the next tape" is kind of ludicrous.. :-)
1996-04-24 21:20:17 +00:00
John Polstra
7aa5215c03 Add a couple of needed X11 libraries. Discovered when trying to build a
static version.
1996-04-22 20:24:56 +00:00
John Polstra
dd2b076850 Implement support for LD_PRELOAD in the dynamic linker. Remove
descriptions of LD_NO_INTERN_SEARCH and LD_NOSTD_PATH from the manual
page, since they are not supported.

Submitted by:	Doug Ambrisko <ambrisko@ambrisko.roble.com>
1996-04-20 18:29:50 +00:00
John Polstra
c049096e82 Implement support for LD_PRELOAD in the dynamic linker.
Submitted by:	Doug Ambrisko <ambrisko@ambrisko.roble.com>
1996-04-20 18:27:56 +00:00
Mark Murray
01aa0a09a4 Attempt to break a $Log$ snafu where a *** /--- (minus space)
was fouling up a comment in the checked-out code.
1996-04-12 11:37:32 +00:00
Mark Murray
2bff10e8b9 Priorities were broken. If there was an Index: line and ***/--- lines
with valid names, the ***/---names were taken first.
this broke eg:
Index: foo/Makefile
==========
RCS <blah>
Retrieving <blah>
diff <blah>
*** Makefile <blah>
--- Makefile <blah>

By trying to patch the Makefile in the _curent_ directory, rather than
the one in the foo/ directory.
1996-04-11 10:13:40 +00:00
Mike Pritchard
edf0e5b3f8 Correct some man page xrefs, and some other minor changes to bring some
man pages up to mdoc guidelines and fix some minor formatting glitches.
Also fixed a number of man pages to not abuse the .Xr macro to
display functions and path names and a lot of other junk.
1996-04-08 04:18:31 +00:00
Joerg Wunsch
e8b90f0072 Make `easy-import' ready for vendor-branch imports.
I'm also going to install the new version on freefall.
1996-04-07 10:22:37 +00:00
Bruce Evans
5669f99f50 Moved the include of <sys/types.h> to before the include of <dirent.h>
so that mkisofs will compile when namespace pollution is removed from
<stdio.h>. (<dirent.h> recently became dependent on <sys/types.h>.)
1996-03-29 14:00:25 +00:00
Joerg Wunsch
4e20deaab3 f2c's -krd does not work with f77 wrapper
Closes PR # gnu/1101

Submitted by:	kargl@troutmask.apl.washington.edu (Steven G. Kargl)
1996-03-27 07:46:04 +00:00
Wolfram Schneider
3974bcb043 Don't count character ``+'' as garbage (c++.1, flex++.1)
Submitted by: joerg
1996-03-21 18:17:41 +00:00
Joerg Wunsch
ff910f3507 Fix an infinite loop for empty files in the archive, and handle
sparsely stored linked files correctly.

Submitted by:	haug@conterra.com (Brian R. Haug)
1996-03-18 23:08:29 +00:00
Joerg Wunsch
8aa07454ea Several changes to the gethostname module:
. rename the function to main'gethostname, so it can be called unqualified,
. strip the trailing \0 character, closes PR # bin/1084,
. a better way to express an insane long string.

Submitted by:	Giles Lean <giles@topaz.nemeton.com.au> (except the 1st)
1996-03-18 21:42:31 +00:00
Wolfram Schneider
29b5d06655 delete /usr/local/bin from PATH
Submitted by:	nate
1996-03-12 23:09:04 +00:00
Wolfram Schneider
ee01e15bb2 delete /usr/ucb from PATH, move /usr/local/bin after /usr/bin 1996-03-12 21:42:40 +00:00
Wolfram Schneider
242e35141e remove ``whatis'' 1996-03-10 18:59:11 +00:00
Wolfram Schneider
d31934acb9 share the code between apropos and whatis 1996-03-10 18:52:33 +00:00
Bruce Evans
7bb6870434 Removed temporary file. 1996-03-01 15:18:55 +00:00
Paul Traina
0f6b2cb3f8 Bring in some of Paul K's fixes for ldconfig from NetBSD-current.
This solves the problem of being unable to use shared libraries with dots
in their names before the ".so.<version>" code.

This should be brought into -stable.

There are more changes from Paul that look like they should be included,
but they change the format of the hints file, so I'm not going to bring them
in now (but we should in the future).

Obtained from: pk@netbsd.org
1996-02-26 02:22:33 +00:00
Wolfram Schneider
d37cc74768 print error messages to stderr
don't fail if search arguments contain spaces
allow programs from $PATH as PAGER
faster
1996-02-25 23:41:46 +00:00
Bruce Evans
463c7e7ac6 Use ${ECHO} instead of echo' so that make -s' is fairly quiet. 1996-02-25 20:25:05 +00:00
Joerg Wunsch
20ef00ec9c Add a small `gethostname' package. It uses __sysctl(2), and thus
avoids the kludgy backquotes that are required by now (`hostname`).

Usage:

require "gethostname.pl";
$thishost = &gethostname'gethostname;
1996-02-13 13:17:49 +00:00
Mike Pritchard
a218f99adb Added a ".Fx" macro to the mdoc package. Usage:
.Fx version.rel { , . ; : ( ) [ ]

Example:

The
.Nm xyzzy
command first appeared in
.Fx 2.2 .

Produces:

The xyzzy command first appeared in FreeBSD 2.2.

Suggested by wollman.
1996-02-12 19:25:18 +00:00
Nate Williams
b156b34dfe Merged in FreeBSD changes. 1996-02-12 06:45:43 +00:00
Nate Williams
0ddab587f5 This commit was generated by cvs2svn to compensate for changes in r14049,
which included commits to RCS files with non-trunk default branches.
1996-02-12 06:39:49 +00:00
Nate Williams
cbf3709a42 Sort from GNU textutils 1.14 1996-02-12 06:39:49 +00:00
Mike Pritchard
bcff8e2ae4 Another round of man page cleanups.
Down to only about 100 items left to cleanup! :-)
1996-02-12 04:57:03 +00:00
Jean-Marc Zucconi
bf0b336a03 Spelling fixes.
This is the man page which has been obtained from NetBSD, not the program.
1996-02-09 21:14:26 +00:00
Mike Pritchard
6fad16fd59 Add some missing MLINKS, correct some cross references, correct some
file locations and some minor formatting/style problems.
1996-02-09 16:20:10 +00:00
Paul Traina
2a4a02c0c7 Whoops, do not reference myself. 1996-02-08 21:12:08 +00:00