Commit Graph

955 Commits

Author SHA1 Message Date
mycroft 3834fcec5c Use mkdtemp(3). 1998-07-27 16:33:31 +00:00
mycroft 4d669802e4 const propagation. 1998-07-27 15:25:06 +00:00
mycroft 5dd823ab5d const poisoning. 1998-07-26 19:44:12 +00:00
mycroft 778e6e0151 const poisoning. 1998-07-26 19:34:10 +00:00
mycroft 86ff65dc4d Remove silly prototype. 1998-07-26 14:54:36 +00:00
mycroft be432ed479 const poisoning. 1998-07-26 14:49:36 +00:00
hpeyerl b64bbed230 userland interface to ATA CD changer devices by Jason Thorpe. 1998-07-13 12:06:18 +00:00
msaitoh eb590dc473 "static" should be located at the beginning of declaration. 1998-07-09 18:06:17 +00:00
mrg 80efe80bc9 - change setgid kmem programs (that lend themselves to this) so setegid(getgid())
and the top, and then set the effective gid back to kmem around the call to
  kvm_openfiles().  this reduces the time group kmem is available.
- for those above that also allow this, setgid(getgid()) after the call to
  kvm_openfiles() to fully revoke priviledges.
- some KNF
- use err(3) over fprintf(3) in some places
1998-07-06 07:50:18 +00:00
mrg 2beab49a06 - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:45:41 +00:00
mrg 3cd022b72f minor KNF. 1998-07-04 19:44:32 +00:00
ross 69228f8bd8 Small edit to n1>&n2 description. 1998-07-04 06:52:07 +00:00
mjacob 795a3913c8 adjust document to reality 1998-07-04 02:31:36 +00:00
mjacob 5433a0b6ca More for kern/1275- and fix a bug in here that's been there forever. 1998-07-04 02:14:22 +00:00
fair 8b671e53f4 PR#5696 + nroff fixes and text clarity 1998-07-03 11:08:08 +00:00
gwr cc865e4609 Fix a minor bug that made conv=sync pad partial blocks with garbage,
when it is supposd to pad with zero or space as with osync.
1998-06-29 19:49:04 +00:00
kleink fc5d36f8e4 GLOB_QUOTE is dead; per POSIX, backslash quoting of special characters being
enabled is the default behaviour.
1998-06-19 22:58:04 +00:00
msaitoh 07a4bb0c95 fix some bugs. 1998-06-11 00:58:31 +00:00
mrg 02a32ed236 oops, fix broken cpio options code. tar options code should be made like pax and cpio code. 1998-06-09 10:53:55 +00:00
lukem a7881b9570 remove unnecessary comment 1998-06-08 09:07:13 +00:00
hubertf b6a5231baf Document ls -F's output for sockets;
per PR 5520 by Matt Debergalis <deberg@big-veronica.ai.mit.edu>
1998-06-01 21:11:28 +00:00
msaitoh ecf9000778 fix a bug. 1998-05-28 14:56:42 +00:00
msaitoh d5977957e6 fix "/bin/login" to '/usr/bin/login" 1998-05-28 13:35:05 +00:00
msaitoh f8c66df30b sort entries and delete extra periods in SEE also section. 1998-05-22 18:27:50 +00:00
ross ac875dda03 Fix a set of bugs where a cd of a relative pathname or a cd through a
symbolic link would not set PWD.
1998-05-21 16:50:40 +00:00
christos efee39278b Simplify interface for general use. 1998-05-20 01:36:14 +00:00
christos f792cdd756 Cast is*() args to unsigned chars in case the ctype macros are implemented
using arrays.
1998-05-20 00:32:05 +00:00
christos 96133865eb cast pid's to longs for OS's where this is the case. 1998-05-20 00:31:11 +00:00
christos 338ea4cec8 fix bug where if moving in history during a multi-line event, the
append to history event would end up in the last event where the history
was moved to instead of the multi-line event; reported by Mycroft
1998-05-20 00:29:26 +00:00
christos 3d8b8b2ed2 Fix dangling else warning. 1998-05-20 00:27:56 +00:00
christos 3ebdac1759 Portability fixes for a non flex based lexical analyzer. 1998-05-18 22:50:20 +00:00
christos c6e03280d4 Need stdlib.h 1998-05-18 22:48:53 +00:00
lukem e30b76288b * blocks can be 64bit (not u_long), so calculate and display accordingly
* cleanup some other typedamage (int is as good as u_long)
* remove unused variables
1998-05-16 15:12:26 +00:00
kleink 892884f299 * Add support for POSIX "kill [-s signame] pid" syntax; actually fixes PR 5327.
* Complete the "kill -l [exitstatus]" syntax.
* Sync with the documentation and no longer permit the use of full signal
  names in the "kill [-sig] pid" syntax, e.g. -SIGHUP.
1998-05-10 18:32:46 +00:00
fair f7c833c469 KNF + copyright assignment to TNF 1998-05-08 18:43:54 +00:00
christos d2ded939ef PR/5315: Dan Winship: options parsing code should print errors to stderr. 1998-05-02 18:04:09 +00:00
fair 416fd8edd4 fix mdoc references 1998-04-28 18:05:53 +00:00
fair fe40034fae change references to vadvise to madvise; remove reference to lisp(1) 1998-04-28 17:59:10 +00:00
fair dc026e0515 Change occurrences of "UNIX" to .Ux or .At as appropriate. 1998-04-28 06:00:51 +00:00
fair 8cab837598 fix nroff error per PR#5347 1998-04-27 20:50:37 +00:00
ross e86e483504 s/cp -pr/cp -PRp/ in the discussion of the cross-device cp(1) operation. 1998-04-20 05:43:30 +00:00
cgd 2072394059 move OBJS depenency on built headers to after include of bsd.prog.mk, so
that things are built in the right order on 'make cleandir && make' (i.e.
so that the headers are properly built).
1998-04-19 05:22:08 +00:00
lukem f1a5689fa6 refer to COPTS not CFLAGS 1998-04-13 14:08:27 +00:00
lukem d6c354cb4b * remove CFLAGS+=-w for powerpc (added in 1.26):
- it was in the wrong place
	- makefiles shouldn't override CFLAGS; only CPPFLAGS and COPTS
	- christos fixed unsigned char stuff in 1.33 which should
	  remove the need for -w anyway
* move .include <bsd.prog.mk> to EOF
1998-04-13 12:06:48 +00:00
fair 09569bd272 makewhatis doesn't quite handle nroff comments (.\") correctly,
so let's accomodate it by moving the stuff in "NAME" section around a bit.
1998-04-09 08:37:12 +00:00
fair 927362e98c remove #include <sys/time.h> ; the include file bug noted in the comment above it has been fixed. 1998-04-09 07:03:29 +00:00
tv 482063559a .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
fair c8e93442cc Fix PR#3590 - remove floating point calculation from df to avoid faulting
on machines that don't yet have complete FP support (e.g. MC68LC040)
1998-04-08 23:16:37 +00:00
fair 000297a954 Fix PR#3585 - csh printed a negative percentage of CPU used when the total
CPU usage was more than 6 hours (integer overflow problem).
1998-04-08 22:38:18 +00:00
fair 0f668275d6 Fix csh to use <paths.h> _PATH_DEFPATH as the default path, absent a PATH
from the environment.
1998-04-08 22:35:54 +00:00