Commit Graph

14073 Commits

Author SHA1 Message Date
Jordan K. Hubbard
e738132001 Very small semantic change. 1996-05-28 23:31:20 +00:00
John Polstra
228a10153e Correct two errors in the manual page. 1996-05-28 18:57:31 +00:00
Jordan K. Hubbard
8a4078c35e Only look at command-line args if we're not running as init - duh!
Thanks, David.
1996-05-28 18:30:30 +00:00
Poul-Henning Kamp
8e3fab403b Use ld -O insted of ld -o + mv. 1996-05-28 16:24:53 +00:00
Poul-Henning Kamp
50ef9020fd Avoid a ton of "mv" when making libs by using -O to ld.
Make lex rules reentrant.
1996-05-28 16:20:13 +00:00
Poul-Henning Kamp
b5938566d8 Add an option -O <filename> to ld. From the manpage:
-O filename
             Specifies the name of the output file.  The file is created as
             filename.tmp and when output is complete renamed to filename.
This allows us to:
	ld -O ${.TARGET} -x -r ${.TARGET}
1996-05-28 16:17:48 +00:00
Andrey A. Chernov
b579b8a248 Fix -f mode
Fix freeing of wrong pointer
1996-05-28 15:43:03 +00:00
Poul-Henning Kamp
4fbec7bfd1 Make rules reentrant. 1996-05-28 00:34:38 +00:00
Wolfram Schneider
6411a71cca document values for option -r 1996-05-28 00:14:20 +00:00
Justin T. Gibbs
070d32b1a9 Fix a race condition in p_mesgout* and inb* code that could allow a
phasemiss to sneak by without detection.  This should fix the
Wide/Narrow boot problems that have been reported since this bug
caused the driver ignore a narrow target rejecting wide negotiation.
1996-05-27 23:16:55 +00:00
Wolfram Schneider
187f8e98f5 make install' do not depend on make all'
Add some comments for variables and targets.
Include <bsd.obj.mk>, remove targets  obj, clean, cleandir.
Replace ${MAN*} with ${DOC*} variables.
Use a .for loop for undefined targets
1996-05-27 23:12:15 +00:00
Andrey A. Chernov
5233f1c6ed -Wall cleanup
Remove unneded function
1996-05-27 23:11:26 +00:00
Wolfram Schneider
125e8ffd27 Add a note that MAKEOBJDIR is an enviroment variable
and does work proper only if set as enviroment variable,
not as global or command line variable.
1996-05-27 23:05:54 +00:00
Wolfram Schneider
dd6e5b0fa9 remove MLINKS tparm.3 due name clash with libtermcap 1996-05-27 22:58:29 +00:00
Wolfram Schneider
d209ee0170 remove MLINKS regcomp.3 regexec.3 regerror.3 due name clash with libc 1996-05-27 22:52:24 +00:00
Wolfram Schneider
ca6513c085 update SEE ALSO section 1996-05-27 22:46:44 +00:00
Andrey A. Chernov
f17947b74a Localize it.
off_t -> long.
Install strfile & unstr
-Wall cleanup
Fix matching bug with offensive database
1996-05-27 22:43:43 +00:00
Gary Palmer
d9378aac9a Clean up the warnings produced by the recent PCI code. Requested by
SE since he doesn't have good access right now
1996-05-27 22:32:23 +00:00
Jordan K. Hubbard
02ba3f92c8 Catch and DTRT with SIGPIPE 1996-05-27 22:12:05 +00:00
Joerg Wunsch
33bb39cd50 Make it more explicit in the main help window that the magic to leave
`ee' is ``ESC-Enter''.  This supposedly fixes the biggest complaint
about it. ;)

(I hope ``ESC-Enter'' ain't too anglicistic in the French text...)
1996-05-27 21:00:06 +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
John Polstra
a49b055f5c Fix a bug in the mbufs display, seen when there was a large number
of mbufs in use.  If the number reached, e.g., 4 digits, then later
decreased to 3 digits, the last digit of the 4-digit number was
not erased.  This caused the display to show a wildly high number of
mbufs in use.
1996-05-27 17:47:09 +00:00
Peter Wemm
37eb8f3805 Remove this version, it now comes from libc. 1996-05-27 11:02:40 +00:00
Peter Wemm
f10ff67db6 This version is no longer needed, and probably better off gone. It
tried to parse the format string to estimate how much space it needed.
It didn't know all of the formats..
1996-05-27 11:01:09 +00:00
Peter Wemm
15aa00d597 Add an implementation of the gnu-ish asprintf() and vasprintf(). They are
not based on gpl'ed code, just prototype and usage.  I'm not 100% certain
they behave the same while the system is in trouble (eg: malloc() failing)
but in those circumstances all bets would be off anyway.

These routines work like sprintf() and vsprintf(), except that instead of
using a fixed buffer, they allocate memory and return it to the user
and it's the user's responsibility to free() it.  They have allocate as
much memory as they need (and can get), so the size of strings it can deal
with is limited only by the amount of memory it can malloc() on your
behalf.

There are a few gpl'ed programs starting to use this interface, and it's
becoming more common with the scares about security risks with sprintf().
I dont like the look of the code that the various programs (including
cvs, gdb, libg++, etc) provide if configure can't find it on the system.

It should be possible to modify the stdio core code to provide this
interface more efficiently, I was more worried about having something
that worked and was secure.  :-)  (I noticed that there was once intended
to be a smprintf() routine when our stdio was written for 4.4BSD, but it
looks pretty stillborn, and it's intended interface is not clear).  Since
Linux and gnu libc have this interface, it seemed silly to bring yet
another one onto the scene.
1996-05-27 10:49:43 +00:00
Andrey A. Chernov
c12a60de93 Find caesar and strfile properly.
Generate .dat files on build state
1996-05-27 09:31:46 +00:00
Andrey A. Chernov
36f5cb505d Use valid ctype range now.
Includes cleanup
Misc. cleanup
Use absolute path in rot13 wrapper.
1996-05-27 08:50:53 +00:00
Marc G. Fournier
6859875c81 Removed false copyrights... 1996-05-27 06:54:03 +00:00
Poul-Henning Kamp
b13f884281 Cleanup the last of the assembly time "-KERNBASE" relocations. 1996-05-27 06:51:46 +00:00
Peter Wemm
d2dc185840 Fix the warnings about "cant inline call to xxx" by reordering two
functions.  It seems gcc wants to have seen the definitions of the
function before it will insert it inline in a caller.
1996-05-27 06:02:52 +00:00
Marc G. Fournier
b0d57629f6 Added in appropriate Berkeley copyright and RCS Id: string
Closes PR#doc/536
1996-05-27 04:10:28 +00:00
Andrey A. Chernov
61af0f298c Add my PGP key 1996-05-27 02:33:13 +00:00
Peter Wemm
9ec1e4b123 This commit was generated by cvs2svn to compensate for changes in r15920,
which included commits to RCS files with non-trunk default branches.
1996-05-27 01:41:12 +00:00
Peter Wemm
069428af6d Import the 4.4BSD-Lite2 /bin/sh sources
Requested by: joerg

(Note, this is mostly going to be conflicts, which is expected.  Our entire
 sh source has a mainline, so this should not change anything except for
 a few new files appearing.  I dont think they are a problem)
1996-05-27 01:41:12 +00:00
Satoshi Asami
5e5b2f69f3 Added John Capo <jc@irbs.com> for his contribution of
ports/games/xroach/patches/patch-ab.

Also remove lone dash between John Hay's name and his e-mail address.
1996-05-27 01:15:29 +00:00
Wolfram Schneider
d04ea1f97b remove unknown word ``unknowen''. Close PR docs/1239
Submitted by: Cove Schneider <cove@brazil.nbn.com>
1996-05-27 01:07:57 +00:00
Jordan K. Hubbard
bdf70e6dd8 There's no -p flag to our diff. 1996-05-26 22:27:52 +00:00
Marc G. Fournier
51d976f16a added missing semicolon
Submitted by:	 Jeffrey Hsu <hsu@freefall.freebsd.org>
1996-05-26 22:05:36 +00:00
Jordan K. Hubbard
cfbaf65d93 Fix some argument ordering and redundancy bogons. 1996-05-26 21:56:24 +00:00
Marc G. Fournier
94e99b9ffa Changed printf for reporting transfer stats from using %.2g to %.2f to
get rid of "scientific notation" reporting (PR#bin/329)

Added a switch so that if bytes/sec > 1Meg/sec, report in Meg/sec instead
of Kbytes/sec
1996-05-26 21:12:50 +00:00
Marc G. Fournier
bcb0ec3dcd Applied patch to close PR#bin/199
Submitted by:	Toshihiro Kanda <candy@kgc.co.jp>
1996-05-26 20:28:05 +00:00
Joerg Wunsch
7439849253 The rs(1) command dumps core with the -s option (SIGSEGV)
(Fix a rangecheck condition.)

Closes PR # bin/1244: rs(1) dumps core with -s
1996-05-26 18:26:55 +00:00
Joerg Wunsch
b99261da7d Add my PGP key, now that Jordan has forced me to deal with PGP. :) 1996-05-26 18:25:11 +00:00
Poul-Henning Kamp
d0aa157d5b If tunnel is busy we return EBUSY, not ENXIO. 1996-05-26 17:04:48 +00:00
John Dyson
85a376eb93 Fix a couple of problems in the pageout_scan routine. First, there is
a condition when blocking can occur, and the daemon did not check properly
for a page remaining on the expected queue.  Additionally, the inactive
target was being set much too large for small memory machines.  It is now
being calculated based upon the amount of user memory available on every
pageout daemon run.  Another problem was that if memory was very low, the
pageout daemon could fail repeatedly to traverse the inactive queue.
1996-05-26 07:52:09 +00:00
John Dyson
0ed4376231 I think this covers (fixes) the last batch of freeing active/held/busy page
problem.  BY MISTAKE, the vm_page_unqueue (or equiv) was removed from the
vm_fault code.  Really bad things appear to happen if a page is on a queue
while it is being faulted.
1996-05-26 05:30:33 +00:00
Wolfram Schneider
53996faddb Add some comments for variables and targets. 1996-05-25 23:09:49 +00:00
Wolfram Schneider
d8982a6a42 speedup MLINKS 1996-05-25 21:50:54 +00:00
Bill Paul
a7aa11b1a0 Fix the -l flag. For some reason I can't fathom, I left in some code
that would cause it to fail if anyone but the superuser tried to use it.

Also fix a couple of harmless typos since I'm in the area.
1996-05-25 01:05:17 +00:00
Peter Wemm
7d4b6187df Nuke the undocumented -F flag, since it doesn't do anything anymore.
It used to allow root to hard-link directories (and screw up programs that
expexted the ".." entry to point to the parent dir)
1996-05-24 20:36:16 +00:00