Commit Graph

1598 Commits

Author SHA1 Message Date
pk de62b93008 Document one more option. 1996-05-09 23:21:50 +00:00
pk 6419f7602d Fix a bunch of bugs:
- avoid divide-by-zero trap when specifying small widths
	- do not overrun entry array when printing output tables
	- cleanup storage allocation for entries
	- use err/warn etc.
1996-05-09 23:20:37 +00:00
mark 2754bf6ea9 Use an integer instead of a char with getc() and ungetc() in mf_fgets()
so that it works with compilers that default to unsigned chars
Note: getc() and ungetc() are prototyped to use ints rather than
chars.
1996-05-08 21:36:05 +00:00
jtc 273e6cc624 Include appropriate header files to bring prototypes into scope.
Removed explicit errno declarations.
1996-05-07 18:32:22 +00:00
jtc 4a22fd1c39 Changed so that the default yp domain is not retrieved when a domain is
specified on the command line with the -d option.
1996-05-07 18:27:46 +00:00
thorpej 527565ac15 Kill a couple of unnecessary calls to strlen(). 1996-05-07 05:26:02 +00:00
thorpej 22afdc2c33 Update for the changes to struct ifnet. While I'm here, fix a couple
of long-standing bugs:

	- Actually deal with the fact that the kernel ifnet list is
	  a TAILQ; it just happened to work before.

	- Use kvm_openfiles() instead of kvm_open().  The code passed
	  arguments to kvm_open() as if it were kvm_openfiles(), but
	  apparently went unnoticed since the prototypes are the same.
	  Amusing bit: there were XXX's in the code which seemed to
	  apologize for a verbose libkvm, when it happened to be a
	  bug in netstat!
1996-05-07 02:55:00 +00:00
jtc 16bd82bcf3 Changed to return non-zero when a key is not matched.
This is a non-documented behavior of traditional ypmatch.
1996-05-07 01:24:52 +00:00
jtc f5b6798f9a Changed to print a colon after the key when -k option is specified.
This is the behavior of the traditional ypmatch utility.
1996-05-07 00:44:20 +00:00
pk a5d6cd101b Fence off NULL args in getcmd() (fixes/works around PR#824). 1996-05-07 00:16:55 +00:00
is d3eda4d607 Patterns for OS9 and OS9/68k modules. 1996-05-06 18:24:01 +00:00
mhitch 8082a458ec Change -N and -M option string to specify the options have an argument.
Fixes PR#2374.
1996-05-05 19:12:03 +00:00
pk a1edfa1874 Apply `topdir' prefix to relative paths in `special srcdir <prog> <path>'
lines.
1996-05-04 14:37:23 +00:00
cgd d0ec1c6b6f fix usage message, clean up RPC error printing. 1996-05-01 18:14:10 +00:00
jtc 0791e398aa Move invariant (!notrans) out of map alias loop 1996-04-30 22:50:53 +00:00
jtc 68ffd31858 Use 'includes' instead of 'afterinstall' target to install headers 1996-04-25 01:23:37 +00:00
ragge ae3f8c2815 Updated to work correctly, pointed out by Tom Ivar Helbekkmo. 1996-04-20 14:56:37 +00:00
jtc 9faba78d91 Update copyright notices, this has been assigned to the NetBSD Foundation.
Fix bug where err() was called instead of errx().
1996-04-20 01:15:12 +00:00
jtc 68a63eb204 Use errx() instead of err() to report failure of kvm_getprocs() call,
as errno doesn't have a meaningful value in this case.  Reported by
Mike Grupenhoff <kashmir@umiacs.umd.edu> in PR #2289.
1996-04-08 21:32:05 +00:00
jtc 7423e425f2 Changed to use 1900 + tm_year instead of hardcoding "19" as the century.
From PR #2308 by Stephen J. Roznowski <sjr@zombie.ncsc.mil>.

This change is not strictly necessary, as these files are only used to
test yacc.  But I could not think of any compelling reason not to make
these change when everything else in the source tree was updated.
1996-04-08 19:10:47 +00:00
jtc cf957d3a75 Changed to use 1900 + tm_year instead of hardcoding "19" as the century.
From PR #2308 by Stephen J. Roznowski <sjr@zombie.ncsc.mil>.
1996-04-08 18:57:49 +00:00
thorpej 69aab31531 RCS Id police. 1996-04-06 06:00:58 +00:00
cgd acf9d62a7b update for the fact that 'allevents' is now a TAILQ. 1996-04-04 00:27:50 +00:00
mark e184b31e47 Include arm32.h when required. 1996-04-01 21:54:06 +00:00
mark 9384681ff5 Initial commit of the machine dependant gprof files for the arm32 port. 1996-04-01 21:51:22 +00:00
mark dad2775914 Define PTRDIFF_IS_LONG and SIZEOF_IS_ULONG for the arm32 port. 1996-04-01 21:47:57 +00:00
mark 6acb166069 Provide a read_names() function for the arm32 port. 1996-04-01 21:45:25 +00:00
mark d786999078 Use an integer instead of a char to store the getopt() return value in
order to match the function prototype and to work with compilers that
default to unsigned chars.
Compare the getopt() return value with -1 instead of EOF.
1996-04-01 21:43:53 +00:00
mark f8fcb56bce Use an integer instead of a char to store the getopt() return value in
order to match the function prototype and to work with compilers that
default to unsigned chars.
Compare the getopt() return value with -1 instead of EOF.
1996-04-01 21:31:33 +00:00
mark 57472e9fbc Added information about NetBSD/arm32 executables. 1996-04-01 21:29:51 +00:00
christos c7f6ddc626 make emalloc and erealloc return void *; closes PR/2276 1996-03-31 21:30:05 +00:00
jtc fea2f4c4ca Added erealloc() function that calls enomem() if the allocation fails
(this is like the existing emalloc() function).  Changed all realloc()
calls to erealloc().
1996-03-29 02:17:13 +00:00
mrg 65e7d88ab1 cast realloc() calls to shutup c++ warnings 1996-03-25 00:36:18 +00:00
jtk d03349ad69 sync up with domestic fixes 1996-03-24 22:03:48 +00:00
jtc cac62b2d65 Be pedantic, main() returns int in C. 1996-03-21 17:56:15 +00:00
tls da9420b27e Add FreeBSD object files; close out pr#1719 1996-03-20 08:20:21 +00:00
jtc 62bdd99390 Sync with 4.4lite2 1996-03-19 03:21:27 +00:00
jtc e758ad3dac imported from 44lite2 1996-03-19 02:06:46 +00:00
jtc 8f3d20ea80 Added `extern "C"' to getenv() declaration when compiling with C++. 1996-03-19 01:59:27 +00:00
jtc e6ec329595 Fix typo. From Masanobu Saitoh in PR #2197. 1996-03-18 23:16:57 +00:00
ragge d05395713d Removed a couple of #ifdef vax causing systat to malfunction. 1996-03-15 22:19:23 +00:00
christos 0acf990595 Add PHONY attribute and target. This is the first step to cleanup the
xinstall and xlint crud.
1996-03-15 21:52:32 +00:00
christos 6750270dc6 data and date aren't the same... 1996-03-12 18:04:27 +00:00
mrg 3bf34254eb fix stdin-missing-paren-in-prompt bug. pr#2158 from enami tsugutomo 1996-03-12 05:15:24 +00:00
christos 57cad0d107 Jonathan Stone's fixes:
main.c:	Remove double include of <sys/resource.h>; if MACHINE is defined, use
	that instead of uname.
Makefile: Add util.c.
1996-03-11 13:45:31 +00:00
thorpej ab5476b242 Only build exportable telnet/libtelnet if the domestic version doesn't
exist in the source tree or defined(EXPORTABLE_SYSTEM).  This works around
the fact that telnet(1) will break during a "make build" because the
exportable libtelnet will get installed while the domestic telnet(1) binary
is still in place.  (XXX)
1996-03-10 05:45:38 +00:00
jtc 95151c4196 unused file 1996-03-07 06:52:51 +00:00
christos 9779dee0b1 Fix PR/2118; apply sysincludes patch. 1996-03-06 00:15:17 +00:00
jtc 27cbf79a35 define YYLEX and YYEMPTY macros, as expected by some parsers written for bison 1996-03-05 01:07:55 +00:00
phil e496287dfc Add processing of "%expect num". 1996-03-05 00:33:19 +00:00