Commit Graph

3290 Commits

Author SHA1 Message Date
Sheldon Hearn
befd5c23b2 The printenv(1) command is now a builtin(1) in csh(1). 2000-05-09 15:02:03 +00:00
Sheldon Hearn
f167d7fb3e Fix miscellaneous mdoc macro argument limit infringements.
PR:		18465
Reported by:	Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
2000-05-09 14:02:06 +00:00
Tim Vanderhoek
5bbd5cc8f4 Exit if we read two EOFs from the keyboard input stream. Why two and not
one?  Just 'cause.

PR:		misc/14932
2000-05-09 04:13:49 +00:00
Tim Vanderhoek
64e8edb884 Don't segv if viewing "#" and there is no prev-file (long-standing).
Staticize a variable that was meant to be static (broken in r.1.11).

PR:		bin/11370 Henry Whincup <henry@techiebod.com> (for the segv)
2000-05-09 03:53:13 +00:00
Kris Kennaway
4cc2c0e494 Oops, revert previous commit 2000-05-07 09:23:37 +00:00
Kris Kennaway
42bfb5ed40 Update device references. 2000-05-07 09:23:36 +00:00
David E. O'Brien
3ca52f354e Add $FreeBSD$ (and test remote commits after the Freefall upgrade) 2000-05-06 01:38:24 +00:00
Poul-Henning Kamp
30450ba43e Remove unneeded #include <sys/buf.h> 2000-05-05 16:07:10 +00:00
Poul-Henning Kamp
9df46d4a2a Don't include <sys/buf.h> 2000-05-05 15:41:22 +00:00
Alexey Zelkin
e0f9195db2 These files are located under usr.bin/calendar/calendars/ru_RU.KOI8-R now 2000-05-04 11:40:15 +00:00
Alexey Zelkin
f897bc64ea Rename calendars/ru_SU.KOI8-R to calendars/ru_RU.KOI8-R to reflect
locale name change (ru_SU.KOI8-R -> ru_RU.KOI8-R)

Not objected to by:	ache
2000-05-04 11:35:27 +00:00
Alexey Zelkin
69b13cd80e Correct comments and variable names left since repo-copy 2000-05-04 11:31:16 +00:00
Alexey Zelkin
2c21592792 Add missing $FreeBSD$ tags 2000-05-04 11:28:55 +00:00
David E. O'Brien
6ddf2502fe Restore this file.
Requested by:	bde
2000-05-02 21:53:52 +00:00
David E. O'Brien
d8b1bd85a3 Add descriptions of the nm(1aout) keywords and their meanings.
PR:		docs/17269
Submitted by:	Oscar Bonilla <obonilla@fisicc-ufm.edu>
2000-05-02 20:21:49 +00:00
David E. O'Brien
80d31da789 nm.1aout is used here now. 2000-05-02 20:17:01 +00:00
Tim Vanderhoek
c9644b462f Fix a long vs. int problem that was fatal on i386s with 64bit longs (but
not alphas with 64bit longs).

Submitted by:	bde (a while ago)
2000-05-02 02:36:03 +00:00
Peter Wemm
3627ad6c00 Remove the undocumented semconfig() system calls. These cause more trouble
than they are worth.
2000-05-01 10:49:41 +00:00
Nik Clayton
26927f3ca7 Remove reference to bsd2dos command, refer to fconv and similar.
PR:             docs/17101
Submitted by:   Udo Erdelhoff <ue@nathan.ruhr.de>
2000-04-30 22:45:13 +00:00
Nik Clayton
17ad18bb78 Add descriptions of the nm(1) keywords and their meanings.
PR:             docs/17269
Submitted by:   Oscar Bonilla <obonilla@fisicc-ufm.edu>
2000-04-30 22:44:05 +00:00
David E. O'Brien
8e7237d599 Default device not longer uses the "r" raw prefix. 2000-04-26 11:34:52 +00:00
Sheldon Hearn
69f2cf17a3 Add braces to avoid ambiguity in a nested conditional (silences a gcc
warning).
2000-04-26 10:38:19 +00:00
David E. O'Brien
b0c6f4cf7a Unbreak for the case where ``make obj'' was run first. 2000-04-26 07:00:46 +00:00
Garrett Wollman
8c6bd995f0 Hello, getconf. This is a slight reinvention of the
wheel^H^H^H^H^HPOSIX.2 and X/Open utility, and rather
more complicated than necessary.
2000-04-26 02:36:54 +00:00
Sheldon Hearn
508d9a5b59 Fix excessive use of parenthesis in previous commit.
Requested by:	bde
2000-04-25 08:59:51 +00:00
Mark Murray
097c3a616c Use Garrett's new (clearer) names. 2000-04-23 14:18:18 +00:00
Martin Cracauer
1ea7321b72 Remove redundat extern declaration 2000-04-20 09:31:54 +00:00
Jonathan Lemon
32462e82fb Change <event.h> --> <sys/event.h> 2000-04-18 16:56:55 +00:00
Joerg Wunsch
5a19405177 No such thing like `southamericarand' when Rand is the currency of ZA... 2000-04-18 16:37:43 +00:00
David E. O'Brien
b40ac1b54f * I goofed and didn't break sentances the right way.
* Make the option arguments format better
* Fix mispelling

Submitted by:	ru
2000-04-18 16:25:51 +00:00
David E. O'Brien
c815a20cb2 Change our ELF binary branding to something more acceptable to the Binutils
maintainers.

After we established our branding method of writing upto 8 characters of
the OS name into the ELF header in the padding; the Binutils maintainers
and/or SCO (as USL) decided that instead the ELF header should grow two new
fields -- EI_OSABI and EI_ABIVERSION.  Each of these are an 8-bit unsigned
integer.  SCO has assigned official values for the EI_OSABI field.  In
addition to this, the Binutils maintainers and NetBSD decided that a better
ELF branding method was to include ABI information in a ".note" ELF
section.

With this set of changes, we will now create ELF binaries branded using
both "official" methods.  Due to the complexity of adding a section to a
binary, binaries branded with ``brandelf'' will only brand using the
EI_OSABI method.  Also due to the complexity of pulling a section out of an
ELF file vs. poking around in the ELF header, our image activator only
looks at the EI_OSABI header field.

Note that a new kernel can still properly load old binaries except for
Linux static binaries branded in our old method.

  *
  * For a short period of time, ``ld'' will also brand ELF binaries
  * using our old method.  This is so people can still use kernel.old
  * with a new world.  This support will be removed before 5.0-RELEASE,
  * and may not last anywhere upto the actual release.  My expiration
  * time for this is about 6mo.
  *
2000-04-18 02:39:26 +00:00
Jonathan Lemon
b446630f2f Change tail to use kqueue/kevent to obtain a notification when
the file changes (when doing tail -{f|F}).
2000-04-16 19:04:49 +00:00
Jonathan Lemon
3132d967fa Do not pull in <sys/select.h>, it isn't required. 2000-04-16 17:34:33 +00:00
Warner Losh
0e7f0658ee #include <errno.h> where needed. Kill extern int errno;.
Minor warnings in tip corrected.
2000-04-14 06:39:19 +00:00
Sheldon Hearn
1806a85c5a Do not issue a warning when chflags() fails with EOPNOTSUPP.
PR:		17875
Submitted by:	Bjoern Fischer <bfischer@Techfak.Uni-Bielefeld.DE>
2000-04-13 09:39:29 +00:00
Sheldon Hearn
b9efeafc84 Use an MD5 checksum to test for file changes; the previous method
of using file mtimes could result in chpasss(1) erroneously
detecting that no changes were made for non-interactive edits.

PR:		4238
Reported by:	Jens Schweikhardt <schweikh@noc.dfn.de>
Submitted by:	Daniel Hagan <dhagan@cs.vt.edu>
2000-04-12 08:49:14 +00:00
Brian Feldman
d0482be885 Add a new options: -m enables searching for memory-mapped files.
It is not default because it's an expensive option by nature, making the
search take 2-3 times as long.

PR:		17555
Submitted by:	Ian Dowse <iedowse@maths.tcd.ie>
2000-04-05 05:45:40 +00:00
Bruce Evans
508424d139 Fixed prototype for setflags(). setflags() returns int, not u_long,
and "extern" in function prototypes is a style bug.  The type mismatch
broke chflags(1) on i386's with 64-bit longs and may have broken it on
alphas.
2000-04-04 14:12:35 +00:00
John Polstra
ec9247d53e Document that the flags can be specified as an octal number. 2000-04-03 22:10:58 +00:00
Steve Price
b7ea7f1260 The FreeBSD/Sparc64 port will also have an __ELF_WORD_SIZE of 64. 2000-04-02 20:22:04 +00:00
Brian S. Dean
599c73a35f Fix a bug in rsh that caused the remote process to hang waiting on
input even if the '-n' flag to rsh is used.  The write side of the
socket should be closed to allow the remote process to see EOF.

Submitted by:  Brad Chisholm <sasblc@unx.sas.com>
2000-04-01 00:14:50 +00:00
Jacques Vidrine
07aa6ef0c9 Instead of checking for a non-zero return value from kvm_read, check
whether we read as many bytes as we expected.
2000-03-31 15:02:10 +00:00
Sheldon Hearn
209e048477 While I'm in here, remove an unused variable.
Submitted by:	Nathan Ahlstrom <nrahlstr@winternet.com>
2000-03-30 09:23:28 +00:00
Sheldon Hearn
9b75e14d30 Fix buffer overflow copying the ``kernel'' command-line argument into
buffers.  The buffers have been resized from the irrelevant BUFSIZ
to the more relevant MAXPATHLEN + 1.

Reported by:	Mike Heffner <spock@techfour.net>
2000-03-29 17:22:10 +00:00
Sheldon Hearn
35add0e9a7 Cross-reference ldd(1) in rtld(1) and vice versa. 2000-03-28 09:01:04 +00:00
Philippe Charnier
11458b9601 Get rid of hard sentence break
Asked by: Sheldon
2000-03-27 20:38:21 +00:00
Philippe Charnier
d3b7ea3d8c More rusers to .Nm convertion
Some of them found by: Sheldon
2000-03-27 20:36:55 +00:00
Philippe Charnier
ffa1b5c165 Quote with .Dq
Asked by: Sheldon
2000-03-27 20:33:32 +00:00
Bruce Evans
15d237484a Fixed misspelling of DPADD as DPADDA.
Fixed some misformattings.
2000-03-27 16:37:32 +00:00
Bruce Evans
1f82591eba Fixed LDADD. Using ${LIBM} instead of -lm gave the wrong libm in most
cases and broke the world in some cases.

Fixed style bugs for DPADD and LDADD (don't use += for variables defined
only once).
2000-03-27 15:02:59 +00:00