Commit Graph

1184 Commits

Author SHA1 Message Date
mycroft 7e07241514 Some KNF, POSIX, and err*(3)/warn*(3) cleanup. Also, use sys_signame[]
rather than a private, home-grown list.
1995-01-15 07:50:44 +00:00
mycroft 92702177a0 Add sum(1) alias, per Matt Green. Various other cleanup. Someone should
finish the addition to the HISTORY section.
1995-01-15 06:43:49 +00:00
phil ba9c5ac055 Fix the bug that stopped a user from changing his yp passwd when
the entry was ::.  (Also allows root to change the empty password.)
1995-01-15 03:23:48 +00:00
jtc db9433b832 Describe -t (enable packet tracing) command line flag (PR #713).
Alphabetize description of command line flags.

Packet tracing is an unimplemented feature, I've decided to keep it's
documentation since ever other UN*X vendor I checked still does.  Not
a particularly useful reason.
1995-01-13 00:09:41 +00:00
christos 77759e5c6d Fixed PR/724, 'make' runs commands when $? is empty
This is not the perfect fix. I think that the whole __SYMDEF
checking code should be removed. [I should also teach myself
how to deal with the PR stuff to mark this closed :-)]
1995-01-11 17:42:26 +00:00
christos 42d1db77e3 Save the name of the environment variables. Remove the comment that
says that we don't. from Paul Borman (prb@bsdi.com)
1995-01-09 18:31:41 +00:00
mycroft 3dbc1e9443 Patch from Giles Lean to make compilation flags more consistent. 1995-01-07 23:07:03 +00:00
christos 95531c8e1f Fixes from Paul Borman (prb@bsdi.com)
1. Honor environment variable $MACHINE if set over uname.machine
2. archives with :: are always out of date, even when they have no children.
3. VAR= a b c     # comment, gets the trailing blanks trimmed, unless
   escaped by \. I'll have to read the posix manul to make sure that it
   is ok to handle escapes here.
1995-01-06 19:57:27 +00:00
jtc c15bd8dda9 Changed so that log entry format used when logfiles are rolled over
matches that of syslogd(8).  This is a slightly modified version of
the patch Thorsten Lockert supplied with PR #684.

Changed manpage to reflect the fact that we are using gzip instead
compress.
1995-01-06 19:20:20 +00:00
mycroft def22ebf96 Document the `arch' flag. Fix the test of the getopt(3) return value. 1995-01-04 05:40:08 +00:00
glass 7e8a9d0d4c some knf 1995-01-03 07:06:42 +00:00
glass 58695b5fdb reapplied patch that made ktrace behave well when kernel subsystem wasn't
installed.
some KNFing.
fixes PR 663 as reported by muir@idiom.com
1995-01-03 07:04:18 +00:00
hpeyerl e9b66f9184 Squish #581. 1995-01-03 06:24:48 +00:00
cgd af03189d5c .include changes suggested by Jon Stone in pr 674. Not strictly necessary
(because there should never be an 'obj' dir/link in .../usr.bin/tn3270,
but good style, and robust if there happens to be one.)
1995-01-02 22:33:21 +00:00
cgd 7bcf44497f invoke cpp with -P 1994-12-30 21:57:09 +00:00
mycroft 5f9524c8e6 Avoid getdtablesize(3). 1994-12-30 02:46:05 +00:00
jtc 709aab2025 fixed major brain fault: echo -> exit 1994-12-29 06:20:16 +00:00
cgd 6e77815dff send error messages & password prompt to stderr, as proposed by Simon Gerraty.
Note that this is not necessarily correct for the password prompt: ideally,
libc/gen/getpass.c should be cloned into the password reading routine in
libskey, and it should be extended to take a prompt string, so that the prompt
and input are taken from /dev/tty, a la passwd(1).
Also, make usage() exit as is standard style, and delete the redundant exits.
1994-12-28 23:17:52 +00:00
mycroft 88c838412f Put back the -I/sys/arch. 1994-12-28 18:39:53 +00:00
mycroft b5c23110da undelete -> undeletecmd, to avoid conflict with syscall. 1994-12-28 13:16:12 +00:00
cgd f795659ece headers, casts, and use of time_t 1994-12-24 17:56:23 +00:00
cgd dbacaea969 headers, and use INADDR_NONE appropriately. 1994-12-24 17:50:00 +00:00
cgd f752024932 stdlib.h, RCS ID format 1994-12-24 17:42:04 +00:00
cgd 424af2982a pull in stdlib.h 1994-12-24 17:38:52 +00:00
cgd 32411917b3 pull in string.h 1994-12-24 17:38:21 +00:00
cgd 4ec4c082a9 casts, so that output is a bit happier with prototyped rpc headers. 1994-12-24 17:36:16 +00:00
cgd 775c14ed64 pull in string.h 1994-12-24 17:35:27 +00:00
cgd f9acc964ad needs stdlib.h 1994-12-24 17:31:23 +00:00
cgd 1c759e8912 headers and redundant declarations. 1994-12-24 17:30:13 +00:00
cgd cfaefa659d needs string.h 1994-12-24 17:27:42 +00:00
cgd ccc2dcd440 be more careful with casts, and clean up a fprintf() call. 1994-12-24 17:26:46 +00:00
cgd 43f1b4beca a couple of these need <sys/queue.h> 1994-12-24 17:21:51 +00:00
cgd f4b24c7ecc pull in headers, as appropriate 1994-12-24 17:17:05 +00:00
cgd 2e93fae74d use the correct-sized type for lno. 1994-12-24 17:12:42 +00:00
cgd e7e72e697f pull in string.h 1994-12-24 17:08:05 +00:00
cgd 4b0b727e20 kill redundant decls, include appropriate headers, and make necessary casts. 1994-12-24 17:07:42 +00:00
cgd 0765b1c716 size is a size_t! 1994-12-24 17:02:20 +00:00
cgd a2cb9c5136 needs stdlib.h 1994-12-24 16:57:59 +00:00
cgd 9ae496f636 needs string.h 1994-12-24 16:57:28 +00:00
cgd 2e1521a2e9 needs string.h. change rcsid style. 1994-12-24 16:56:47 +00:00
cgd 048dd3e70f pull in stdlib.h, string.h, kill unnecessary decls. 1994-12-24 16:55:10 +00:00
cgd 7d82c5ab5d a few casts, for peace and quiet. 1994-12-24 16:54:24 +00:00
cgd d098389111 be more careful with time_t's 1994-12-24 16:49:02 +00:00
cgd e3599736d2 val is a long, now. 1994-12-24 16:47:28 +00:00
cgd f8829b960e add string.h, fix up rcsid. 1994-12-24 16:46:18 +00:00
cgd a584a9e8b9 needs stdlib.h and string.h 1994-12-24 16:44:03 +00:00
cgd 06da9a1040 needs string.h 1994-12-24 16:42:19 +00:00
cgd 8a7150a301 type sanity 1994-12-24 16:38:43 +00:00
cgd 09a7f21ccd pull in string.h 1994-12-24 16:35:34 +00:00
cgd 55d8a77f2c pull in stdlib.h and string.h, kill unnecessary declaration. 1994-12-24 16:35:17 +00:00
cgd fcb1f85786 pull in string.h or stdlib.h as necessary. 1994-12-24 16:33:46 +00:00
cgd 0c876871bd kill some unnecessary casts and decls 1994-12-24 16:30:51 +00:00
cgd d49bdfc734 don't need bsd.own.mk any more. 1994-12-24 16:28:39 +00:00
cgd 92ca4cb3d9 add zopen declaration. 1994-12-24 16:27:18 +00:00
cgd 62f7f268b0 pull in stdlib.h 1994-12-24 16:24:32 +00:00
cgd 8020777591 cksum uses 32-bit quantites, internally 1994-12-24 16:02:45 +00:00
cgd 0b92310510 pull in string.h 1994-12-24 15:57:02 +00:00
cgd f99812c428 clean up types slightly. 1994-12-24 15:55:54 +00:00
cgd b8de9939be pull in string.h 1994-12-24 15:50:40 +00:00
cgd 75c71616bb fgetln takes a size_t pointer. 1994-12-24 15:50:16 +00:00
pk 2a1aad2b21 Don't build .db file at install time. 1994-12-23 21:11:56 +00:00
cgd 2b690d95b4 fix my man page botch. from <vdlinden@fwi.uva.nl> 1994-12-23 19:46:49 +00:00
jtc 3609dfb66b Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-23 07:34:55 +00:00
jtc f5fcbb2167 imported from 44lite 1994-12-23 07:18:15 +00:00
jtc 7280395fb6 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-23 07:16:29 +00:00
jtc b412b86505 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-23 06:52:56 +00:00
jtc 6d298651c9 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-23 01:13:58 +00:00
jtc 2b8585be05 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
Changed to use err() and errx().
1994-12-23 01:10:55 +00:00
jtc d5252c4795 imported from 44lite 1994-12-22 21:09:00 +00:00
cgd 2fe029cf29 use beforeinstall, rather than install, so man pages get installed! 1994-12-22 13:10:45 +00:00
cgd 9e97520947 specify man pages the new way. 1994-12-22 12:30:38 +00:00
mycroft ccd89b2a0d Clean up deleted files. 1994-12-22 12:30:36 +00:00
cgd 7bcf9338df specify man pages the new way. 1994-12-22 12:29:38 +00:00
mycroft 83d6b33d6a Clean up deleted files. 1994-12-22 12:29:32 +00:00
cgd 7eb97d8409 specify man pages the new way. 1994-12-22 12:29:28 +00:00
cgd 28c7946a29 kill -R in CFLAGS 1994-12-22 11:20:21 +00:00
jtc 24ee77754c posix compliance goop. 1994-12-22 06:39:32 +00:00
jtc 27e6ad9506 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-22 06:33:38 +00:00
jtc 7f8ee3fcb6 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-22 06:17:28 +00:00
jtc 31ac284a48 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-22 01:06:58 +00:00
jtc f73d94654f Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-21 22:41:22 +00:00
jtc ae2384963b Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-21 08:55:39 +00:00
jtc 0ac05e5259 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-21 08:42:01 +00:00
jtc 4c5b56c20d imported from 44lite 1994-12-21 08:39:37 +00:00
jtc 5233fb4026 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-21 08:11:23 +00:00
jtc fdc1920d23 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
Changed to use err() and warn().
1994-12-21 08:07:19 +00:00
jtc d9a436e9ca misc cleanup by jimj. 1994-12-21 07:22:00 +00:00
jtc 5720e226ae misc cleanup by jimj and myself. 1994-12-21 07:11:00 +00:00
jtc 4915ed9981 Cleanup by jimj.
Converted to use err() and warn() by myself.
1994-12-20 16:13:02 +00:00
jtc d64863d5c6 more cleanup from jimj & myself. 1994-12-20 16:01:03 +00:00
jtc b9dc358fda more cleanup from jimj. 1994-12-20 15:58:19 +00:00
jtc b0101ccb47 misc cleanup.
converted to use err() and warn().
1994-12-20 15:54:03 +00:00
cgd 8e0e3522e1 pull in bsd.own.mk by hand, early, so NOMAN= can be defined there. 1994-12-20 15:12:31 +00:00
cgd e98f7c13ab string.h to bring protos into scope. 1994-12-20 12:05:29 +00:00
jtc 5de9660433 gcc -Wall cleanup by jimj and myself 1994-12-20 01:44:07 +00:00
jtc 2e93b6f80d cleanup from jimj 1994-12-20 01:30:26 +00:00
jtc 22ffcfee21 Include <err.h> to bring prototypes into scope. 1994-12-20 01:28:57 +00:00
jtc 8383e7d727 added prototype for install_dir() 1994-12-20 01:24:38 +00:00
glass 22db40e083 fix bug 644. report and fix from Jan Sparud <sparud@cs.chalmers.se>. both forwarded on. 1994-12-18 23:33:48 +00:00
jtc 9527909e88 added exit(1) to usage() 1994-12-18 22:05:40 +00:00