Commit Graph

2736 Commits

Author SHA1 Message Date
bde
fb38f3b38f vfork -> fork. The child calls abort(), which calls stdio. 1998-10-10 19:21:39 +00:00
bde
b6707d5d72 vfork -> fork. This home made popen() had the same bug as the library
popen(), but worse.  The child calls execvp(), which calls malloc()
a bit more than execl(), and it calls non-library functions that call
malloc() and who-knows-what else (stdio is called in at least some
error cases).
1998-10-10 19:18:30 +00:00
bde
85a8445364 Fixed gross breakage in previous commit. The malloc sizes for the
temporary file names were uninitialized if TMPDIR was set and 1 too
small otherwise.

Fixed style bugs in previous commit.

Fixed missing checks for malloc failure in previous commit.

Report malloc failure consistently, at least in temp.c.
1998-10-10 19:01:47 +00:00
bde
f9d228be4a Removed debugging cruft.
Broken in:	previous commit
1998-10-10 18:37:02 +00:00
bde
d481e744ca Don't build or install ${MAN1}. It's just a copy of ${MAN1aout} and
installing it clobbers the elf ${MAN1}.  The MAN1 -> MAN1aout changes
actually work now.

Fixed order of MAN* and BINDIR.
1998-10-10 12:48:48 +00:00
thepish
7e13cb17ff PR: bin/8250
protect against buffer overruns in mail temporary files.
1998-10-10 09:58:20 +00:00
markm
62c0b9c7a6 Add JKH's auth.conf parser to turn on/off Kerberos in userland 1998-10-09 20:14:48 +00:00
des
3acf2ed285 fread() returns 0 on eof or error, not EOF. This fixes the following
bug:

  "head -c <n>" never exit and loops forever (until it is killed),
  if the input stream has fewer bytes than specified (n).

PR:		bin/8225
Submitted-by:	FUJIMOTO Kensaku <fujimoto@oscar.elec.waseda.ac.jp>
1998-10-09 10:33:46 +00:00
markm
eae906720c Use KJH's auth.conf parser to turn on/off Kerberos in userland. 1998-10-09 06:47:57 +00:00
markm
b14a67847b Use KJH's auth.conf parser to turn on/off Kerberos in userland. 1998-10-09 06:38:33 +00:00
jdp
0aac1abf71 Don't try to print out the signal number that caused core to be
dumped.  It is not in a fixed location in the file, so at best,
garbage comes out.  I don't think this code was ever valid.
1998-10-09 01:43:08 +00:00
obrien
bbda8835a6 Quiet many compiler warnings. 1998-10-08 09:56:10 +00:00
kato
7229e2d265 Use MACHINE_ARCH instead of MACHINE to detect x86 arch.
Pointed out by:	Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp>
1998-10-07 13:46:09 +00:00
ken
f4825e5b2b Fix a core-dump situation in ":boot" mode in the vmstat display.
Reported by:	bde
1998-10-05 04:04:27 +00:00
obrien
3319df1b80 Also look in /usr/src/contrib.
PR:		bin/7835
Submitted by:	Stephen J. Roznowski <sjr@home.net>
1998-10-04 10:33:37 +00:00
sef
1934827ad8 Make it compile -Wall cleanly.
Submitted by:	Alex Nash <nash@mcs.net>
1998-10-03 18:02:03 +00:00
sef
643a65080b Move truss from i386-specific to always-build.
Submitted by:	Alex Nash <nash@mcs.net>
1998-10-03 17:59:26 +00:00
dfr
b128ba9a29 Some 64bit portability fixes. 1998-10-03 11:01:39 +00:00
dfr
75bba69794 mt now builds on the alpha. 1998-10-03 10:59:57 +00:00
dfr
43d4ef77d3 Don't bother trying to support Wangtek tapes on the alpha. 1998-10-03 10:58:54 +00:00
jdp
f869be212e Fix "file" so that it prints the program names from core files
correctly.
1998-10-03 04:38:58 +00:00
sef
5ec8059ee0 Alpha support for truss. I tested this on both bento and beast (thanks,
Jordan, for pointing me at beast!).  There should be no change for the
i386 version.
1998-10-03 00:43:05 +00:00
obrien
3275da5790 Use lpr' vs. lp' to print
Add "ESC-Enter: exit" message to the emacs binding info window.
1998-10-01 21:18:18 +00:00
dt
6d03ec84a2 Backed out "fix for PR 7575". It was bogus. 1998-10-01 19:40:27 +00:00
jkoshy
9db74d3695 Mention default time between output flushes in manual page.
PR:		docs/8009
Submitted by:	Stefan Eggers <seggers@semyam.dinoco.de>
1998-09-29 01:49:49 +00:00
obrien
78af0f28e2 include <pthread.h>
Submitted by:	Alexander Leidinger <netchild@wurzelausix.CS.Uni-SB.DE>
1998-09-25 11:43:48 +00:00
jkh
67c025063d Take doscmd back out - it relies on installed X components to build (!). 1998-09-25 02:15:56 +00:00
bde
3d0a5d6c2d Fixed disorder and long lines.
Decrypted a comment.
1998-09-24 10:28:28 +00:00
luoqi
004c26b5e2 Enable elf build for doscmd. 1998-09-24 01:15:56 +00:00
luoqi
d46b23e073 ELFize. In fact, doscmd is ELF natural -- there is no need for a loader
since ELF executables are loaded well above the low memory region that
DOS operates in.
1998-09-24 01:11:45 +00:00
brian
cf4f63404d Terminate our output string correctly if we've got
an ``a'' command that has an escaped newline on the
last line of the last script that we're processing.

This fixes exmh2/scripts/build when /etc/malloc.conf -> AJ
1998-09-22 18:39:47 +00:00
obrien
ac2c9069c6 Makefile.inc was conditionally setting vars already set by bsd.own.mk
which is read before tip's own Makefile is.  Move those varables here
where they will do some good.
1998-09-21 08:41:35 +00:00
roberto
0376f4363d Fix bad option processing.
PR:		bin/7986
Submitted by:	Dan Nelson <dnelson@emsphone.com>
1998-09-21 07:47:53 +00:00
bde
0f8a7d3919 Install using ${INSTALL}, not using `install'. 1998-09-20 21:38:12 +00:00
ken
d07292d471 Change the devstat generation number from an int to a long. The int-sized
generation was causing unaligned access faults on the Alpha.

I have incremented the devstat version number, since this is an interface
change.  You'll need to recompile libdevstat, systat, iostat, vmstat and
rpc.rstatd along with your kernel.

Partially Submitted by:	Andrew Gallatin <gallatin@cs.duke.edu>
1998-09-20 00:11:23 +00:00
jkh
e41795b7ad Add -S flag; this is benign since fetch's behavior is unchanged if you
don't use it.  That's why I'm bringing it in during our "code slush"
Submitted by:	Stefan Esser <se@mi.uni-koeln.de>
1998-09-20 00:01:26 +00:00
obrien
04be6dc763 Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:06 +00:00
des
a340a668b2 Fix the following bugs:
- if a command was specified and script(1) failed to execute it,
    it would print the name of your shell in the error message
    instead of that of the command that failed.

  - since finish() was installed as a SIGCHLD handler, it would
    often run before the main loop had had time to process the
    last few bytes of output. This resulted in very strange
    truncated error messages.

  - script(1) would almost always return with an exit status of 0,
    even if the command returned a non-zero exit status. This broke
    my 'build world, install it and rebuild the kernel' scripts
    because 'make installworld' would run even if 'make buildworld'
    had failed.
1998-09-19 09:45:42 +00:00
des
3eb6c90d30 DTRT for file: URLs when output file is "-".
PR:		bin/7203
1998-09-17 00:15:15 +00:00
dillon
291328a0e3 vmstat shows all manually-specified devices rather then just the first
three.
1998-09-16 18:20:23 +00:00
des
34dbcd762f Avoid infinite loop if read() fails consistently.
PR:		misc/7926
Submitted by:	Sergey Potapov <sp@alkor.ru>
1998-09-16 15:53:25 +00:00
dfr
80faa2f788 Put ldd back in the standard list since it builds on alpha now. 1998-09-16 09:32:29 +00:00
dfr
9cf452b48d Make ldd work on alpha. 1998-09-16 09:31:48 +00:00
jdp
712a582005 Add links to addr2line, objcopy, and objdump. These exist only for
ELF, but still I think this is the best way to get them into the
shell's search path.
1998-09-16 04:11:15 +00:00
ken
6389cca137 Delete unused code. This has been obsoleted by the new devstat code.
Reviewed by:	imp
1998-09-16 00:25:54 +00:00
gibbs
eec091e94c Reference new files for device stat support. 1998-09-15 10:28:59 +00:00
gibbs
7081b6b22a Augment compression and blocksize support. Update table of known densities. 1998-09-15 10:28:20 +00:00
gibbs
e8eb724f93 Update system to new device statistics code.
Submitted by:	"Kenneth D. Merry" <ken@plutotech.com>
1998-09-15 08:16:45 +00:00
jkh
55f7679c11 Use -aout for kernels right now. This will have to be changed back if
the kernel goes ELF.
1998-09-14 11:32:52 +00:00
des
a0201a25a8 Don't require an executable file name. If no executable image is
specified, use /proc/<pid>/file. Document it.

PR:		bin/7915
Suggested-By:	Wolfram Schneider <wosch@panke.de.freebsd.org>
1998-09-14 10:09:30 +00:00
obrien
b71c2e6caa Remove -n for ignoring system headers. Instead add finer grain shell
macros and document them.

Prompted by:	bde
1998-09-13 09:39:39 +00:00
des
a73399dd90 Print correct total for -c option (previously, the total for the last
directory scanned was printed instead of the real total)

PR:		bin/7896
Submitted by:	Zach Heilig <zach@gaffaneys.com>
1998-09-11 15:53:08 +00:00
dt
a65e8bc6eb Some fixes for swap space accounting.
Obtained from:  pstat.c
1998-09-11 14:38:12 +00:00
kato
73c6a42c3c Set the `pc98' string to the MACHINE if machdep.ispc98 != 0. 1998-09-09 14:58:30 +00:00
jb
075e82b2c8 Don't define RANLIBMAG if building an elf version of make. The RANLIBMAG
option lets make look inside archive libraries when determining if a
library is out-of-date. I don't think that make should look inside
files, so this fix effectively tells it not to. If the decision is
made (by someone else) that make _should_ be doing this, it will need
to be taught how to recognise elf archive libraries.

Problem noticed by: Joseph Koshy <jkoshy@freebsd.org>
1998-09-09 08:29:15 +00:00
jkoshy
b2027cacd1 Fix spurious `free()' when -d g2 is enabled.
PR:		6790
Submitted by:	nsmart <njs3@doc.ic.ac.uk>
1998-09-09 05:15:38 +00:00
jkoshy
a3d0e10d88 Add missing comma.
PR:		7841
Submitted by:	NOKUBI Hirotaka <hnokubi@yyy.or.jp>
1998-09-09 03:07:03 +00:00
msmith
1fde4c59b0 Terminate the defdrives array correctly. (Shame, Rod!)
Submitted by:	Scott Michel <scottm@cs.ucla.edu>
1998-09-09 02:22:28 +00:00
obrien
197549a134 Add support for the RPC 64-bit integer type ``hyper''. 1998-09-08 17:33:12 +00:00
jdp
543681e630 Make profiling work for ELF. gprof now autodetects the format of
the executable file, so it will work for both a.out and ELF format
files.  I have split the object format specific code into separate
source files.  It's cleaner than it was before, but it's still
pretty crufty.

Don't cheat on your make world for this update.  A lot of things
have to be rebuilt for it to work, including the compiler and all
of the profiled libraries.
1998-09-07 23:32:00 +00:00
steve
371cfe76d7 Make the builtin unix macro work as it should (well like Solaris's,
GNU's, and OSF1's).
1998-09-07 22:09:13 +00:00
cracauer
42b4e04649 Correct zsh shell script entry.
PR:		bin/7657
Submitted by:	Dom Mitchell dom@phmit.demon.co.uk
1998-09-07 16:27:24 +00:00
jb
825568e041 Install the legacy man file in section 1aout. 1998-09-07 06:01:37 +00:00
sef
0a1110cc66 Use a default execution type if none of the listed ones match. This
uses the first type listed in the array as the default type.  This isn't
perfect, but I thought it would be better than nothing.
1998-09-07 05:49:43 +00:00
asami
9a97a336a9 Remove tcl from /usr/src, according to prior agreement. BTW, tcl-8.0 *is*
a port so there is nothing to be done on that side now.

Approved by:	jkh
===
To: "Jordan K. Hubbard" <jkh@time.cdrom.com>
cc: Andreas Klemm <andreas@klemm.gtn.com>, current@freebsd.org
Subject: Re: Make this a relese coordinator decision (was Re: ports-current/packages-current discontinued)
From: David Greenman <dg@root.com>
Date: Sun, 03 Aug 1997 20:23:31 -0700

>decision is, I'll respect it.

   Another chance to architect people's principles...I can hardly wait. Seems
quite appropriate for a Sunday - I just need to get one of those collection
plates (and money envelopes) so I can profit, too. :-)
   Tcl stays in /usr/src for now, but it needs to be kept up to date; same
for perl. If Jordan doesn't have "setup" (written in tcl) ready for 3.0,
then tcl will be yanked prior to the 3.0 release (and made into a port).
   As for the ports tree only supporting the last FreeBSD release, this seems
sensible to me. The "ports" have always been a moving target between releases
and the problem is only going to get worse when we expand to supporting other
processor architectures. In any case, Satoshi is and always has been in charge
of the ports tree and whatever he wants to do with it (within reason :-)) is
his decision.
   Does this cover the issue completely? I admit to deleting messages in this
thread with unusual fervor (people have FAR too much time on their hands!).
There's a fair bit of reasoning behind the above, but since everyone is sick
of arguing about this, I'll spare you the analysis.

-DG

David Greenman
Core-team/Principal Architect, The FreeBSD Project
1998-09-05 12:25:55 +00:00
jb
5ff3ca9abc Change MACHINE to MACHINE_ARCH to support MACHINE=pc98. 1998-09-05 08:22:30 +00:00
jb
6c8bd8f8ef Add -lcrypt when building kerberos. 1998-09-05 00:32:27 +00:00
obrien
925418d6a7 revert back to rev 1.5 1998-09-04 06:01:42 +00:00
markm
070f3c5668 Bump up the E_SHELL constant after an extra field was added, thus making
this refer to the wrong data.
Submitted by:	axl@iafrica.com (Sheldon Hearn)
1998-09-03 17:32:22 +00:00
bde
58ca96de8f Removed a buggy ifdef for not linking libmd explicitly. Explicit
linkage is needed for the NOSHARED=YES case, so it is simplest to
never depend on the automagic linkage for elf shared libraries.

Reviewed by:	jdp
1998-09-02 14:46:20 +00:00
obrien
6966253261 Cut-n-paste fub.
Noticed by:	bde
1998-09-02 10:09:08 +00:00
wosch
064c163f3f Diagnostic rewritten in English.
Submitted by: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
1998-09-02 10:05:47 +00:00
wosch
a024876276 Sort cross references. 1998-08-31 16:41:09 +00:00
wosch
46c124c47b Support multiple databases. For example
$ look miau  dict1 dict2 dict3
1998-08-31 16:38:23 +00:00
jkoshy
be7e5066f8 Move setting of 'crt' mail variable to {/usr/src}/etc/mail.rc. 1998-08-31 10:53:06 +00:00
jb
4d61f28938 The elf build wants to link against libcrypt. 1998-08-31 00:42:21 +00:00
jb
771c522554 Change /etc/objectformat to /etc/objformat. Last chance 'cause it's E-day.
Suggested by: jdp
1998-08-30 20:40:29 +00:00
gpalmer
8f9760990c Split lines into one subdir per line. 1998-08-30 20:28:50 +00:00
jdp
7e808e64e0 Fix a bug which caused ldd to execute scripts listed on its command
line, instead of skipping them.

Also make a few minor cleanups.

PR:		bin/7783
1998-08-30 18:30:59 +00:00
steve
b2b833995d Typo fix: garbeld -> garbled
PR:		7784
Submitted by:	Kris Kennaway <kkennawa@physics.adelaide.edu.au>
1998-08-30 17:33:05 +00:00
gpalmer
41737ca018 Add $Id$ 1998-08-30 17:02:51 +00:00
wosch
cecfdf9776 PR: bin/5596
Change the diagnostic if there were no matching processes owned by
you.
1998-08-30 16:54:58 +00:00
gpalmer
56b1993f19 Still need -lmd on the alpha as it doesn't have shlibs yet 1998-08-30 16:07:18 +00:00
jb
e678529bc8 BINFORMAT -> OBJFORMAT ready for E-day. 1998-08-30 02:52:04 +00:00
bde
064259186b Fixed anachronisms (nuked vfs type number; don't give a 1/6-baked list
of vfs flags in the man page).
1998-08-29 13:53:22 +00:00
obrien
09739c7829 Add option `-n', causing system headers not to be included in dependacy
lists.

This is needed when using a non-stock compiler.
1998-08-29 07:55:55 +00:00
gpalmer
5df13ac7ed Delete trailing space that may have caused problems 1998-08-26 12:41:11 +00:00
gpalmer
62b93a9eb6 Move kdump & ktrace out of i386 specific section. 1998-08-26 10:03:28 +00:00
wosch
a21aee1c42 Check the text segment size of the executable and the process. If
not equal, the command line arguments are wrong. E.g.:

$./gcore /bin/sh 1761

$ ./gcore /usr/tmp/chroot/bin/sh 1761
gcore: The executable /usr/tmp/chroot/bin/sh does not belong to process 1761!
Text segment size (in bytes): executable 303104, process 294912
1998-08-24 16:25:30 +00:00
cracauer
3ef1b27d0c When exiting on SIGINT, exit with signal status 1998-08-24 10:17:20 +00:00
steve
4598ceff30 The host commandline option is -h and not -s.
PR:		7703
Submitted by:	Yoshishige Arai <ryo2@on.rim.or.jp>
1998-08-24 00:56:20 +00:00
gpalmer
0e65f3a1a2 Quick hack to allow netstat to compile once more: ifdef out MT_SOOPTS 1998-08-23 15:23:11 +00:00
obrien
480f5d8442 Add "-P" display the id as a password file entry.
Submitted by:	terry
1998-08-21 06:47:58 +00:00
jb
a6e0ef1ac3 Change casts from int to u_long and formats from %x to %lx.
Didn't fix the alignment of the output fields on alpha where addresses
require 16 characters to print.

Added a dummy field to the pt_u union to help the alpha compiler align
the u_sa field in a suiable way.
1998-08-18 13:41:38 +00:00
jb
3f27899256 Change a variable from int to size_t. 1998-08-18 13:36:47 +00:00
jb
7252c25302 More programs that build on alpha now. 1998-08-18 12:55:32 +00:00
jb
5b31821071 The selection of a default object format is based on OBJFORMAT, not
BINFORMAT.
1998-08-18 06:55:36 +00:00
jb
8f10135ff1 Make this internal build tool static to avoid trying to use shared
libraries before the shared loader has been installed.
1998-08-17 11:56:22 +00:00
jb
ced8b1c076 Remove the PATH setting. 1998-08-17 11:43:25 +00:00
gpalmer
378c0a5e03 lorder is needed on the alpha too 1998-08-17 07:37:55 +00:00
jkoshy
234c18ac42 Remove hardcoded constant in favour of login.conf value.
PR: 	6529
Submitted by:	Dan Lukes <dan@obluda.cz>
1998-08-17 03:25:07 +00:00
phk
1ed6b79eba I have added the support for BIG5 encoding into libc/libxpg4/mklocale.
the diff is attached below. This is done on the 3.0 source-tree.
I have test this on 2.2-stable before, but I don't have a 3.0 machine
right now.

This patch is mainly to make libc support BIG5 encoding, thus add
zh_TW.BIG5 locale to 3.0.

Submitted by:	Chen Hsiung Chan <frankch@waru.life.nthu.edu.tw>
1998-08-15 12:51:49 +00:00
phk
0f8c912157 Remove half the file, somehow it got doubled... 1998-08-15 12:36:50 +00:00
jb
97bffe3681 Removed explict PATH which tended to cause the *wrong* path to be used
more often than not.

Also included Doug Rabson's changes to make this script better handle the
two varieties of nm output we now have.
1998-08-15 07:10:21 +00:00
phk
5db86f287f /usr/src/usr.bin/lex/Makefile puts FlexLexer.h into /usr/include/g++,
but flex still generates "#include <FlexLexer.h".  As a result,
C++ sources flex generates failed to be compiled.

PR:		7575
Reviewed by:	phk
Submitted by:	MOROHOSHI Akihiko <moro@remus.dti.ne.jp>
1998-08-14 06:35:37 +00:00
thepish
b483cc0548 Submitted by: Peter Hawkins <thepish@freebsd.org>
Document last mod (extended gcos)
1998-08-14 03:47:38 +00:00
thepish
45eec99ab2 Submitted by: Peter Hawkins <thepish@FreeBSD.org>
Add functionality for support for more than 4 subfields within gcos. chsh,
chpass etc did not parse beyond the 4th field previously and so truncated
gcos on updating the database.
1998-08-14 03:18:32 +00:00
wosch
dbdb393361 Merge from stable: support for the o, order, command 1998-08-12 09:58:15 +00:00
thepish
baef4173f4 PR: 7522
Correct bug in the inverse operator optimisation code which caused segv
on ! without a following expression.
1998-08-10 10:29:11 +00:00
phk
cda9cb7dcf I have been running with these locale data for a while now and
I hope some other people might find them useful. They are for
zh_CN.EUC (GB) only. I'm not familiar with the BIG5 encoding,
so I could only hope someone else would fill the gap.

PR:		7310
Submitted by:	Luoqi Chen <luoqi@chen.ml.org>
1998-08-10 09:49:42 +00:00
jdp
19c95c58ef Don't ignore symbols containing "$". C++ destructors and other
special functions have names containing dollar signs, and ignoring
them causes gprof to produce incorrect and sometimes bizarre results.
The comment in the original code said that dollar signs were excluded
because they are used in Pascal labels.  That's not much of an
issue these days.
1998-08-08 17:48:26 +00:00
alex
98bba03f6b Year is sometimes set to -1 when assign_date() is called. Check for -1
before Y2K processing.

PR:		7524
1998-08-08 14:02:06 +00:00
phk
6b8e495b2c Make netstat work again. 1998-08-08 08:13:04 +00:00
ache
0f1f05adaa add Hungarian clooate 1998-08-07 17:08:56 +00:00
ache
e1234f35a9 add Hungarian ctype 1998-08-07 17:07:12 +00:00
ache
1d4d97b545 fix 8bit clean issue
PR: 7519
1998-08-07 16:21:09 +00:00
phk
eff547b7e9 This PR contains additional magic for file(1) describing
various adventure game data files.

from Allen Garvin <earendil@faeryland.tamu-commerce.edu>
Edited by Dave Chapeskie <dchapes@ddm.on.ca> Jun 28, 1998

PR:		7466
Reviewed by:	phk
Submitted by:	The Frobozz Magic Homing Pigeon Company
1998-08-07 06:26:37 +00:00
markm
57b61e8f72 Fix LIBDIR (for aout/ELF). 1998-08-06 21:41:13 +00:00
phk
fcde7b9973 Don't open /dev/mem until we need it, most cases we don't. 1998-08-05 13:54:07 +00:00
dfr
aef69c7121 Use <signal.h> instead of <sys/signal.h>. 1998-08-05 09:01:29 +00:00
des
75a0abfaae Add -t option ('t' in interactive mode) to make top(1) ignore itself.
Attempts to contact the author of top(1) (William LeFebvre) have so
far been unsuccessful.

PR:		7253
Submitted by:	Yours Truly
1998-08-04 14:10:48 +00:00
hoek
914fbad87e Ignore (effectively) SIGTSTP if we're already in the process of tstoping. 1998-08-03 03:11:09 +00:00
bde
7544feb271 Fixed printf format errors. 1998-08-02 15:18:45 +00:00
bde
a1cc807650 Backed out rev.1.31. It was a workaround for bugs in rev.1.4 of
libc/gen/getpass.c.  The old behaviour of blocking SIGINT and not
changing SIGQUIT was restored in rev.1.5 of getpass.c.  The change
here completely restores the old behaviour of not supporting killing
login with keyboard signals (only) at the password prompt.  There
is no reason to support this, since login can be exited normally
by typing a couple of ^D's.  Login certainly shouldn't dump core
in response to user input.  Previously, SIGQUIT killed login
immediately but SIGINT killed it only after the password was
entered.

PR:		7444
1998-07-31 07:22:31 +00:00
hoek
c6f8c1ac57 Fix coredump when two signals are sent in rapid succession.
PR:		bin/5721
Submitted by:	Oliver Fromme <oliver.fromme@heim3.tu-clausthal.de>

Also, add "volatile" to a variable modified by signal handlers (coincidentally,
the same variable involved in the above fix, although this isn't related
to the reported problem).
1998-07-31 04:05:11 +00:00
des
bb930bac45 Don't try to dereference a pointer to freed memory.
PR:		bin/7393
1998-07-29 17:50:06 +00:00
des
366b0b2b58 Brucifixion. 1998-07-28 10:08:16 +00:00
jlemon
b6fbe55363 Change doscmd to use i386_set_ioperm() call instead of sysarch(). 1998-07-28 03:39:59 +00:00
des
d29e94fc95 Behave like GNU time. More cleanup. Reword man page.
Pointed out by:	Bruce Evans
1998-07-27 16:54:05 +00:00
des
919249587c Clean up the previous commit. 1998-07-27 16:08:58 +00:00
wosch
5954d8a17c Round - not cut - the real cpu time. 1998-07-27 12:21:58 +00:00
imp
72cb09943b fd_set is documented to be a typedef, not a struct. Conform more
closely to the documented interface.

Inspired-by: similar changes in OpenBSD
1998-07-26 18:49:36 +00:00
imp
0cd469a704 Use malloc + sprintf rather than asprintf to ensure portability to
other, less advanced architecutres.  This should minorly help porting
efforts of FreeBSD.  I've done several make worlds since this came up
with this change, as well as debugging several interesting nits with
-V (which is the only thing this change will affect really).
1998-07-26 17:06:05 +00:00
hoek
e53259c876 Fix compilation for the case where neither ioctl(TIOCGWINSZ)
nor ioctl(WIOCGETD) exist.  This case doesn't occur under FreeBSD.

PR:		bin/5996
Submitted by:	Max Euston <meuston@jmrodgers.com>
1998-07-26 16:15:26 +00:00
hoek
e15b79593e Really delete -# option. 1998-07-25 05:58:04 +00:00
hoek
14feb7af61 Nuke obsolote and broken -# option.
Order options.

PR:		bin/5996
Submitted by:	Max Euston <meuston@jmrodgers.com>
1998-07-25 05:56:49 +00:00
hoek
1a99878b02 Keep "-c" (top_scroll) through viewing help.
PR:		bin/5996
Submitted by:	Max Euston <meuston@jmrodgers.com>
1998-07-25 05:28:32 +00:00
phk
fbfa812ffb By default, /usr/bin/time writes its output to stderr. Two options
have been added to time(1) to write output to an alternative destination.
Option "-f filename" will write to filename, and filename can be - to
write to stdout.  Option "-a filename" will append the output to filename.
Time(1) man page has been updated to reflect the change.

PR:		7368
Submitted by:	Steven G. Kargl <kargl@troutmask.apl.washington.edu>
1998-07-24 07:19:29 +00:00
phk
f4e69ebf9b During compilation of a Fortran program f2c/f77 will spew the
name of entry points, functions, subroutines, and program to
stderr error.  The enclosed patches do 3 things:

     (1) Silenced the output to stderr.
     (2) Added a -v option to f2c and f77.  This will turn on a verbose
         mode, and dumps quite a bit of stuff to stderr.
     (3) Updated the f2c man page.

PR:		7369
Submitted by:	Steven G. Kargl <kargl@troutmask.apl.washington.edu>
1998-07-24 07:13:57 +00:00
phk
b2c3c99671 A bit of PR7278 which belongs here.
PR:		7278
Reviewed by:	phk
Submitted by:	Harlan.Stenn@pfcs.com
1998-07-22 20:34:24 +00:00
jdp
a0e317132a Fix a couple of little bugs that prevented login.c from compiling
if LOGIN_CAP_AUTH was defined.  This is kind of silly, because
LOGIN_CAP_AUTH doesn't work anyway, is not defined currently,
probably will never be defined, and IMHO should not be defined.
But I'm sure you'll sleep better tonight, knowing that these bugs
are gone.
1998-07-22 04:33:12 +00:00
jmz
11635c9ea0 'remaining' must be declared off_t instead of int to avoid FPE when the size of
the file to transfer is very large (577985293894855484 bytes in the case I
encountered, but this was a buggy ftp server :-))
1998-07-19 00:01:24 +00:00
imp
b1f579ee51 o for unknown int21 functions, set the CY bit to indicate failure
o When reporting a int21 function we don't know about yet, report
  AH as the major and AL as the minor, as opposed to reporting AL
  as the major.
o Add support for 21:44:7: ioctl check output status.  We
  optimistically say that output is always ready.
o Add half support for 21:23: get file size.  We always now return
  failure.  This function isn't supported, according to the interrupt
  list, by the DOS box in windows, so I don't feel too bad.
1998-07-17 00:18:52 +00:00
imp
c03a84acf2 o remove -f from doscmd man page, as it is not implemented.
o Remove init printf
o Don't set optind from return value for do_args.  getopt has already
  done this.
o Bump EMS memory from 1M to 10M (this really should be a command line
  option).
o Open /dev/null when requested to open emmxxxx0 to allow many programs
  checking to see if EMS is installed to find it.
o Route int67 to ems_entry to allow EMS to be used when DOS is emulated
  as well as when DOS is booted.  This may obviate the need for the
  driver doing anything at all in a really booted situation and won't
  hurt that case.

I can now run the DOS program I'm interested in running with enough
EMS memory that its "advanced" functions are enabled and working.
1998-07-16 23:54:26 +00:00
ghelmer
8ffe99174a Revert "POSIX saved uids change". seteuid(2) is not POSIX, and
FreeBSD does not have _POSIX_SAVED_IDS enabled.  Thanks to Warner Losh
and Ollivier Robert for pointing this out, and Bruce Evans for explaining
the role of _POSIX_SAVED_IDS.
1998-07-14 19:07:30 +00:00
se
35ffb43797 Fix proxy authorization code:
- failed to use authorization parameters passed in the environment, if
  /dev/tty could not be opened (i.e. if running from cron)
- mixed use of /dev/tty and stdin for prompt and reading of the result
1998-07-12 09:07:36 +00:00
des
159027b6bb Recognize long month names in addition to short ones.
PR:		bin/7228
Submitted by:	Archie Cobbs <archie@whistle.com>
1998-07-09 22:51:59 +00:00
ghelmer
94e7631576 Security and minor functionality changes based on OpenBSD msgs.c:
tmp file (mktemp changed to mkstemp), saved POSIX uids, buffer overflow,
and use PAGER environment variable if set.
Obtained from: OpenBSD
1998-07-09 14:06:54 +00:00
jdp
edf65e0b11 Add a "-k" option, to specify that the lock file should be kept
rather than removed.

Submitted by:	Nick Barnes <Nick.Barnes@pobox.com>
1998-07-08 05:29:05 +00:00
bde
74c609b270 Use the installed version of mklocale for `make all'. It is now
bootstrapped by `make world'.  The version just built in ".."
normally won't work if the target system is not binary compatible.

Don't build or install anything if _BUILD_TOOLS is defined.  Then
we only want to build and install the mklocale binary, but the layout
of the mklocale tree forces recursing to mklocale/data for at least
the obj target even when _BUILD_TOOLS is defined.
1998-07-07 23:05:59 +00:00
bde
5da9a54ccf Use the installed version of colldef for `make all'. It is now
bootstrapped by `make world'.  The version just built in ".."
normally won't work if the target system is not binary compatible.

Don't build or install anything if _BUILD_TOOLS is defined.  Then
we only want to build and install the colldef binary, but the layout
of the colldef tree forces recursing to colldef/data for at least
the obj target even when _BUILD_TOOLS is defined.
1998-07-07 23:04:25 +00:00
jkh
aef63b6947 Previous fix didn't make it past the Bruce filter. Clean up
non-KNF indentation and use err() properly.
1998-07-07 22:20:50 +00:00
jkh
4edf2d85dd msgs -p (and maybe other flags, too) gives misleading error messages,
especially on a new install, where /var/msgs/bounds doesn't exist.  I
        moved my bounds file out of the way to create this before and after
        on a quick 'n' dirty hack, which is probably the 23rd best way to do it,
        but it works:

PR:		6963
Submitted by:	Matthew Fuller <fullermd@mortis.futuresouth.com>
1998-07-07 12:02:59 +00:00
bde
6f048033dd Fixed type mismatches which were fatal when sizeof(long) > sizeof(int). 1998-07-06 22:08:00 +00:00
bde
e09d0d05bd Fixed classic sign extension bug `-(long)sizeof(foo)'.
Fixed the type of the string table size variable to match its use
(assuming that int32_t is 4 bytes and other unportable things).
bfd uses `unsigned char string_chars[BYTES_IN_WORD]', where
BYTES_IN_WORD can be 4, 8, or perhaps even 2 or 3, but it is
assumed to be precisely 4 bytes here.

Fixed printf format errors (don't assume that n_value in struct
n_list has type u_long, since it should have size BYTES_IN_WORD
and longs may be longer than words).
1998-07-06 21:45:12 +00:00
bde
0ea85390b1 Fixed printf format errors. 1998-07-06 21:01:54 +00:00
bde
2331d16bb6 Fixed type mismatches and style bugs in rev.1.30. 1998-07-06 20:52:08 +00:00
hoek
e215c2fc19 Fix bug from last commit: don't SEGV when reading as part of a pipe. 1998-07-04 01:22:07 +00:00
hoek
a0377d88f2 Use '-e' when viewing helpfile. 1998-07-03 23:01:33 +00:00
hoek
78fd5d8a82 Prevent recursive help)elp)elping. 1998-07-03 17:12:10 +00:00
sos
8aef5b4c5f Add missing ')'..
Doesn't anybody TEST code before committing....

This is the X'th time these laste couble of days...
1998-07-02 14:07:31 +00:00
imp
ea54538626 o Be more careful about using sprintf and strcpy. 1998-07-02 05:23:55 +00:00
imp
8d6b1ee90a o typo: will -> with 1998-07-02 05:21:36 +00:00
imp
306efecea6 o fix bug in conversion of DOS 32-bit signed number to FreeBSD's 64-bit
off_t.

This fixed the primitive 'copy protection' that the program I'm using.
1998-07-02 05:12:53 +00:00
imp
7d1739d740 Kill printf accidentally committed 1998-07-01 23:31:53 +00:00
imp
835dd86721 Make sourcer's main program execute in X mode.
o Make the dos emulation treat c: and C: the same way.  Sourcer was doing
  a chdir("c:\\") rather than a chdir("C:\\");
o use drlton() in all places where we used to use -'A' so that we're always
  case independent.
o use drntol() in all places where we used to use + 'A' for similar reasons
1998-07-01 19:56:17 +00:00
imp
db45b1efbb Implement int 2f ax=1600, which is, according to the Interrupt List,
used to check to see if windows 3.x if running.  We always return 0,
which means that neither Windows 3.x nor Windows/386 2.x is running.  It
also means, btw, that XMS version 1 isn't installed, which is true since
we don't implement that either.
1998-06-30 22:23:06 +00:00
bde
58651aa5fd Don't assume that time_t is long. 1998-06-29 17:25:46 +00:00
bde
ab05e68061 Don't assume that time_t is long. 1998-06-29 17:06:00 +00:00
bde
358160524e Don't assume that time_t is long. 1998-06-29 15:52:49 +00:00
steve
3471124890 Fix a few typos.
PR:		7092
Submitted by:	Kauzo Horikawa <h-horik@yk.rim.or.jp>
1998-06-27 20:32:41 +00:00
rnordier
bc7ad8c941 Correct typo: loosing --> losing 1998-06-26 14:25:18 +00:00
ghelmer
8b3f18e3ab Update vmstat portion of man page to reflect the statistics currently
shown by systat's vmstat display.
PR:		docs/3764
1998-06-25 22:04:48 +00:00
peter
1800854839 Merge ppp 2.3.3 -> 2.3.5 changes (for what it's worth) 1998-06-23 21:58:41 +00:00
ghelmer
bd510ab3c8 Minor grammar and punctuation cleanup.
Reference /etc/periodic/daily instead of /etc/crontab.
1998-06-23 16:52:59 +00:00
dt
07b5ab38e5 Make value of SIZE accurate.
Obtained from:	ps(1)
1998-06-21 18:00:34 +00:00
wosch
d2fb8d8a31 Create a save TMPDIR using `mktemp -d'. 1998-06-18 09:26:22 +00:00
jkoshy
82e8fe2dd2 Remove compile time dependency on ARG_MAX.
This fix only removes the dependency on compile time constants.  The code
has other (old) problems that need to be addressed.

PR: 1791
Reviewed-by: bde, tegge
1998-06-17 12:58:43 +00:00
steve
aa2a06ad6f sprintf -> snprintf to avoid potential buffer overflow.
PR:		6907
Submitted by:	Archie Cobbs <archie@whistle.com>
1998-06-14 16:03:40 +00:00
steve
3d0fd8d3eb Correct the description of the last four fields.
PR:		6926
Submitted by:	Josh Gilliam <josh@quick.net>
1998-06-13 19:14:14 +00:00
peter
9e49714e15 Make -V expand it's arguments. This means that instead of 'make -V OBJS'
printing something useless (to a shell) like: ${SRCS:N*.h:R:S/$/.o/g}
it will instead print the actual ${OBJS} value.
1998-06-13 11:55:57 +00:00
peter
c5fe2990d3 "./strip maybe_stripped" doesn't work too well if maybe_stripped is an
elf executable..
1998-06-12 16:22:25 +00:00
peter
ebb6acaa88 The doscmd build process and doscmd.kernel loader is very a.out specific
and doesn't fly too well on in an elf enviroment yet.
1998-06-12 16:18:27 +00:00
peter
4305d6cc95 #include <arpa/inet.h> 1998-06-12 14:18:33 +00:00
peter
dad2efc308 Add -DFREEBSD_AOUT to CFLAGS to ensure we get the correct definitions
from <link.h>
1998-06-12 14:11:15 +00:00
peter
d30ef43dba #include <arpa/inet.h>
Also, use real struct in_addr rather than u_long.
1998-06-12 13:04:59 +00:00
peter
0d27ed3004 #include <arpa/inet.h> 1998-06-12 12:55:46 +00:00
peter
884612afbf #include <arpa/inet.h> 1998-06-12 12:37:15 +00:00
ache
641500a3f7 Local filesystems are ufs not ffs
Submitted by: "D. Rock" <rock@cs.uni-sb.de>
1998-06-11 03:47:29 +00:00
thepish
b46272ff00 Submitted by: Peter Hawkins thepish@freebsd.org
Small man page fix (missing ']' in [:alpha:] example)
1998-06-11 02:14:58 +00:00
phk
306618399a Spelling fixes.
PR:		6903
Reviewed by:	phk
Submitted by:	Josh Gilliam <josh@quick.net>
1998-06-10 12:34:27 +00:00
peter
6c57133574 fchflags(8) -> fchflags(2)
Submitted by:  Kenneth Merry <ken@plutotech.com>

Also, while here, mention that other FS's don't do flags.
1998-06-10 07:17:59 +00:00
imp
3a869e2c7b sizeof(foo - 1) isn't the same as sizeof(foo) - 1.
Pointed out by: Theo De Raadt.
1998-06-09 14:51:05 +00:00
imp
bb281813c3 Remove unused strvisx. 1998-06-09 04:35:20 +00:00
imp
895e96c0e6 Don't assume that hp->h_lenght == 4. Be conservative in its use.
Submitted by:	 J. Assange a long time ago.
1998-06-09 04:31:02 +00:00
imp
e15433af64 o Use snprintf rather than sprintf.
o Revert gid to caller before a shell so we can run setgid.
o minor style nits to make bruce happy :-)
o use strncpy correctly.
1998-06-09 04:28:05 +00:00
imp
51d799dda0 Use mkstemp rather than mktemp for yacc's temp files. This change was made
to OpenBSD a long time ago and to my tree shortly thereafter.  I think theo
made this change, or one similar to it, but I could be wrong.
1998-06-09 04:20:51 +00:00
imp
56ce0eeea4 o Use snprintf rather than sprintf
o Add more checks for buffer overflows
o Use snprintf rather than strcat/cpy and have better checks for max
  length exceeded.

Most of these changes are not exploitable buffer overruns, but it never
hurts to be safe.

Inspired by and obtained from: OpenBSD
1998-06-09 04:17:29 +00:00
imp
503886c5c8 o Use snprintf over sprintf.
o Use strncpy correctly.
o Use enough buffer for line.

Inspired by or Obtained from: Similar changes in OpenBSD
1998-06-09 04:13:03 +00:00
imp
50a299ff0a Make sure we pass the length - 1 to readlink, since it adds its own
NUL at the end of the path.

Inspired by: OpenBSD's changes in this area by theo de raadt
1998-06-09 04:10:08 +00:00
imp
4cf95b6cfa $@ is deprecated, use ${.TARGET} instead. Ditto for other single character
$n.
PR:		 conf/3273
1998-06-09 04:07:23 +00:00
jkoshy
a16ff56e48 Reword to remove confusion between su(1)'s "-c" option and that of the shell
being invoked.  Add example that clarifies usage of "-c".

PR: 6859
1998-06-08 05:29:51 +00:00
thepish
d95d37cea7 PR: docs/5628
Submitted by:	MITSUNAGA Noriaki mitchy@er.ams.eng.osaka-u.ac.jp
Correct formatting error in display of the "-i size" option description section.
1998-06-06 15:16:02 +00:00
steve
16359590c3 Fix a bunch of spelling errors.
PR:		6856
Submitted by:	Josh Gilliam <josh@quick.net>
1998-06-04 21:06:07 +00:00
bde
1df6504378 Don't forget to pretend that `make -n -jN' makes the targets that it
says it pretends to make.

This bug was apparently harmless except for normal cases involving
.ORDER statements when it made debugging of -jN using -n very
confusing.  E.g., for:

.ORDER: beforedepend .depend
depend: beforedepend .depend

where beforedepend depends on something so that it is not initially
up to date, `make [-n] -j2 depend' causes `make' to wait for itself
to make beforedepend.  This works fine without -n.  The job to make
beforedepend has normally been started, and beforedepend is marked
as made when the job completes.  However, with -n, the pseudo-job
for making beforedepend has normally completed, and in any case
there was no chance of beforedepend being marked as made.  `make'
actually exited almost immediately with status 0 instead of waiting
forever.
1998-06-04 05:48:57 +00:00
jkoshy
50fa01edd2 Spelling corrections.
PR: 6829
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-03 04:21:41 +00:00
thepish
1e699b043c PR: bin/6828
Submitted by:	njs3@doc.ic.ac.uk
Obtained from:	NetBSD

Implement embedded variable expansion
1998-06-02 13:11:04 +00:00
peter
fefb8de8ef Treat an EOPNOTSUPP from fchflags() as a non-fatal case. Only warn about
it if flags were explicitly specified on the command line.  Do not warn
if we were merely trying to preserve flags or remove UF_NODUMP.  NFS does
not support flags.

I'm not sure that this is ideal, but it should do for now.  Installing
a plain file onto a NFS server must work, we used to silently ignore the
attempt.  Doing a binary install looses the flags anyway since cpio
doens't preserve them with the cdrom/network images.
XXX make world should not use flags or chown/chgrp in the obj/tmp area.

This is based on a suggestion from Ken Merry <ken@plutotech.com>.
1998-06-02 12:00:08 +00:00
jhay
0ff423d0e3 Look for kzhead.o and kztail.o in /usr/lib/aout. 1998-06-01 18:34:19 +00:00
peter
245193b4e4 SUBDIR += ldd 1998-06-01 14:30:58 +00:00
peter
388f4715b3 ldd standalone build, after repository copy. 1998-06-01 13:55:12 +00:00
amurai
e9e82fc544 Trim a domain part for wtmp as same as showed by "netstat -r".
Here is a some example for avoiding a confusion.

 It asssumes a logged host domain is "spec.co.jp". All
example is longer than UT_HOSTNAMELEN value.

   1) turbo.tama.spec.co.jp: 192.19.0.2  -> trubo.tama
   2) turbo.tama.foo.co.jp : 192.19.0.2  -> 192.19.0.2
   3) specgw.spec.co.jp    : 202.32.13.1 -> specgw

Submitted by:	Atsushi Murai <amurai@spec.co.jp>
1998-06-01 08:47:04 +00:00
bde
9ee6c76c17 Fixed double slashes in pathnames. 1998-05-31 11:32:38 +00:00
jb
8f6b458ea5 objformat is part of the i386 mid life identity crisis. On alpha, things
are in their normal places, so objformat isn't required.
1998-05-31 10:48:06 +00:00
phk
69ad703802 Some cleanups related to timecounters and weird ifdefs in <sys/time.h>.
Clean up (or if antipodic: down) some of the msgbuf stuff.

Use an inline function rather than a macro for timecounter delta.

Maintain process "on-cpu" time as 64 bits of microseconds to avoid
needless second rollover overhead.

Avoid calling microuptime the second time in mi_switch() if we do
not pass through _idle in cpu_switch()

This should reduce our context-switch overhead a bit, in particular
on pre-P5 and SMP systems.

WARNING:  Programs which muck about with struct proc in userland
will have to be fixed.

Reviewed, but found imperfect by:       bde
1998-05-28 09:30:28 +00:00
danny
5975d4b896 Reviewed by: Peter Hawkins <thepish@FreeBSD.org>
Add s and w flags to show duration in or with seconds.
1998-05-28 00:58:29 +00:00
jhay
e7f4e10343 Correctly display the interrupt counts.
Reviewed with optimizations by:	Tor Egge <tegge>
1998-05-27 21:01:37 +00:00
peter
70466906ec Convert to more canonical format.. It seems that both Soren and I were
working on this in parallel.. :-(
1998-05-27 15:43:24 +00:00
sos
7328c8129b Compile & use objformat as it was intended to, I have no idea why
that failed for me before :(
1998-05-27 07:59:37 +00:00
sos
d721e2b3d6 ELF preparation step 2:
Move a.out libraries to /usr/lib/aout to make space for ELF libs.
Make rtld usr /usr/lib/aout as default library path.
Make ldconfig reject /usr/lib as an a.out library path.
Fix various Makefiles for LIBDIR!=/usr/lib breakage.

This will after a make world & reboot give a system that no
longer uses /usr/lib/*, infact one could remove all the old
libraries there, they are not used anymore.

We are getting close to an ELF make world, but I'll let this
all settle for a week or two...
1998-05-26 20:12:56 +00:00
sos
578a109067 Get owner/group/modes right 1998-05-26 12:27:37 +00:00
sos
3f3a9f693c Oops, remember CFLAGS...
Also compile directly to the target on install.
1998-05-26 06:51:28 +00:00
danny
6dc602acfd PR: 1904
Abort if given uname is > MAXLOGNAME-1
1998-05-26 06:39:08 +00:00
steve
862b1db549 "EOF of file..." is written to stderr and not stdout.
PR:		6756
1998-05-26 00:39:12 +00:00
sos
dca8a4e1e6 ELF preparation step 1:
Move our old a.out utils to /usr/libexec/aout.
Enable binutils and put the utils in /usr/libexec/elf
Enable objformat, a little helper program that calls the right
utils based on /etc/objformat and $OBJFORMAT.

This will enable the ELF generating tools.
Remember that this is only step one, the system is still compiled
and run in a.out format ONLY.

Problem left to solve: The BSD manpages wins over the GNU equivalents
as the are installed last. We need to distinguish between the manpages
somehow...
1998-05-25 17:34:42 +00:00
sos
9b2f302619 Only compile on install. 1998-05-25 15:00:49 +00:00
sos
ecd674eebd Make objformat DTRT when in the make world environment. 1998-05-25 14:42:22 +00:00
des
799ce5d744 Back out Steve's fix, as this was already fixed by me in revision 1.6 1998-05-25 12:04:47 +00:00
steve
2bab7904df Only allow 'who' and 'who am i' as valid usages.
PR:		6294
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-05-25 07:19:07 +00:00
steve
3cd8048d02 Allow spaces in the filename to be decoded to.
PR:		4882
Submitted by:	Slaven Rezic <eserte@cs.tu-berlin.de>
1998-05-25 06:27:09 +00:00
steve
c746f4b3f9 Allow a user in group 0 to su(1) to root if their primary
group is 0 in /etc/passwd even if they aren't listed
as a member in /etc/group.  This is more inline with
what the group manpage says.

PR:		6696
Submitted by:	Max Euston <meuston@jmrodgers.com>
1998-05-25 03:34:52 +00:00
steve
d48f547f48 Add a graceful jumping off point with a new .error directive.
PR:		6720
Submitted by:	Niall Smart <njs3@doc.ic.ac.uk>
1998-05-25 03:28:37 +00:00
jkoshy
9c0a7805e2 Sort SEE ALSO section alphabetically. 1998-05-22 11:09:01 +00:00
jkoshy
c207ed5f6d Cosmetic fix. Compute header field widths from UT_{HOST,LINE,NAME}SIZE
instead of hardcoding header line.

PR: 6325
1998-05-21 08:46:48 +00:00
rnordier
c7903ff356 Support integer constant unsigned-suffix and long-long-suffix. 1998-05-19 20:41:20 +00:00
pb
4267e66ec3 Make "netstat -s" display stats on fast-forwarded packets.
Obtained from: NetBSD code
1998-05-19 16:00:55 +00:00
jkoshy
9887fffa83 Use the correct name of the login.conf(5) capability (`passwordperiod' ->
`passwordtime').
1998-05-19 03:48:07 +00:00
markm
56ba53881c Include correct header to get definition of struct sockaddr_un. 1998-05-16 21:35:37 +00:00
wollman
bacfe3cce2 Fix rev. 1.7: get offsetof from the correct header file. 1998-05-16 18:04:00 +00:00
ache
e003728957 Fix broken sun_len usage: it is not sun_path length but bigger 1998-05-16 08:31:49 +00:00
wollman
6213176660 mbuf, inet, and unix modules no longer read kvm. 1998-05-15 20:19:21 +00:00
jb
604af89766 More programs are now broken on alpha due to the libbind changes
that prevent the programs from being linked static (duplicated
symbols).

Other programs depend on kernel internals. These will have to wait
for a custom alpha kernel. For now, let's just make the build safe.
1998-05-15 12:33:56 +00:00
jb
67b31111a9 Change variable from long to time_t where they are passed by reference
to time().
1998-05-15 12:28:43 +00:00
jkoshy
f784cc3d2a Add cross references for find(1), locate(1), whereis(1) and which(1).
Submitted by: Josh Gillam <josh@quick.net>
PR: docs/6642
1998-05-15 11:22:42 +00:00
jb
9a9a15be77 Change the name of a variable from _start to s_start. On alpha there
must be a library function called _start.
1998-05-15 09:26:28 +00:00
jkoshy
94a58195db Allow `w' to treat a corrupted "utmp" as a non fatal error.
PR: bin/2832
1998-05-14 10:13:24 +00:00
phk
08f9a08eb7 .Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENT
PR:		6599
Reviewed by:	phk
Submitted by:	Josh Gilliam <josh@quick.net>
1998-05-13 07:57:49 +00:00
jb
7abe32bd17 Fix broken (at least on alpha, but probably on i386 too) code which
is supposed to walk an arry of character pointers, not an array of
characters.
1998-05-13 05:50:42 +00:00
wosch
504b72c81c Some commands are shell builtins. Execute the builtins by the shell
and not directly by make(1).

PR: bin/6550
Submitted by: Theo de Raadt <deraadt@cvs.openbsd.org & wosch
1998-05-12 11:54:12 +00:00
bde
4b408b42d7 Fixed missing dependencies on headers generated by rpcgen, as usual.
Removed bogus dependencies of generated .c files on generated headers.
Sorted sources lists.
1998-05-10 16:01:36 +00:00