Commit Graph

2626 Commits

Author SHA1 Message Date
mycroft 41b9ae035f Use S_IS*(), not S_IF*. 1997-10-19 19:11:56 +00:00
mycroft b66f8512e6 Use S_IS*(), not S_IF*. 1997-10-19 19:09:05 +00:00
mycroft d8703622b5 Use _POSIX_VDISABLE, not 0, to disable special characters. 1997-10-19 16:49:15 +00:00
mycroft 1ea2e990d3 Use double, not float. 1997-10-19 15:18:43 +00:00
mrg 57417153bd WARNSify 1997-10-19 15:03:06 +00:00
mrg 538e692995 fix compile warnings on the alpha. 1997-10-19 14:50:58 +00:00
mrg 777a66571e WARNSify; deprecate register; clean up .Nm 1997-10-19 14:46:16 +00:00
mycroft d8eb1d74d5 Define USE_UTIMES. 1997-10-19 14:43:24 +00:00
mrg 6e4783d48e WARNSify; deprecate register; clean up .Nm 1997-10-19 14:42:36 +00:00
mycroft 7864b49784 Purely cosmetic change. 1997-10-19 14:38:04 +00:00
mrg 658077dbfb WARNSify; clean up .Nm 1997-10-19 14:35:28 +00:00
lukem 568259857e WARNSify, fix .Nm usage 1997-10-19 14:34:08 +00:00
mycroft b5d6394251 Output the right file name in an error message.
Also a cosmetic change; pass a null pointer to gettimeofday() for the
time zone info.
1997-10-19 14:34:07 +00:00
lukem b65c70eff6 WARNSify, fix .Nm usage 1997-10-19 14:30:04 +00:00
mrg 86ef873b6b WARNSify 1997-10-19 14:28:27 +00:00
lukem 6b42a1d256 don't define WARNS=1 here 1997-10-19 14:27:25 +00:00
lukem e561335e13 fix up .Nm usage 1997-10-19 14:27:18 +00:00
lukem 208c50b8fb WARNSify, deprecate register 1997-10-19 14:26:26 +00:00
lukem 9bd92c9311 WARNSify, deprecate register 1997-10-19 14:26:23 +00:00
mycroft 985cca83b6 Use S_IS*().
Use mode_t, uid_t, and gid_t as appropriate.
Don't use futimes(2) on a directory.
1997-10-19 14:25:24 +00:00
lukem d177c90289 s/bzero/memset, fix .Nm usage 1997-10-19 14:25:00 +00:00
lukem e390551d3d fix up .Nm usage 1997-10-19 14:23:52 +00:00
lukem c2314d822a don't define WARNS=1 here 1997-10-19 14:23:26 +00:00
lukem bccfa1bf01 WARNSify, deprecate register 1997-10-19 14:22:16 +00:00
lukem 20e7acbab5 WARNSify, fix .Nm usage, deprecate register, getopt returns -1 not EOF 1997-10-19 14:20:43 +00:00
mrg 069922f852 fix compile warnings on the alpha. 1997-10-19 14:12:22 +00:00
lukem dc7ab0caa5 remove WARNS=1 1997-10-19 14:11:38 +00:00
lukem 8121ebfa9b WARNSify, fix .Nm usage, deprecate register, getopt returns -1 not EOF 1997-10-19 14:10:27 +00:00
mrg 66f7b9fd72 fix compile warnings on the alpha. 1997-10-19 14:05:56 +00:00
lukem acafa8e6b6 disable WARNS here 1997-10-19 14:05:48 +00:00
mrg 15dc191955 fix compile warnings on the alpha. 1997-10-19 14:05:47 +00:00
lukem dcc8df4f52 WARNSify, fix .Nm usage, deprecate register, getopt returns -1 not EOF 1997-10-19 14:03:29 +00:00
lukem 3859d5b356 WARNSify, fix .Nm usage, deprecate register, use warn 1997-10-19 14:01:33 +00:00
lukem 3b3cf635da WARNSify, fix .Nm usage, deprecate register, s/[br]*/[ms]*/ 1997-10-19 13:58:48 +00:00
mycroft eae3d4c198 Fill in the microseconds fields for utimes(2). 1997-10-19 13:48:21 +00:00
lukem 09c3e85663 WARNSify, fix .Nm usage, deprecate register, s/bcopy/memmove 1997-10-19 13:40:12 +00:00
lukem 629a5006ed replace error() with err() 1997-10-19 13:35:51 +00:00
lukem 0d374e0c45 disable WARNS here, fix .Nm usage, deprecate register, s/index/strchr/ 1997-10-19 13:16:33 +00:00
lukem 927f7e1429 use WARNS=0 not WARNS?=0 to disable warnings 1997-10-19 13:01:25 +00:00
lukem 07732f2ed9 use WARNS=0 not WARNS?=0 to disable warnings 1997-10-19 13:01:12 +00:00
lukem 8566a4f96c use WARNS=0 not WARNS?=0 to disable warnings 1997-10-19 13:00:58 +00:00
lukem cb7e4f16f1 WARNSify, fix .Nm usage, getopt returns -1 not EOF 1997-10-19 12:44:21 +00:00
lukem 9b5a69b52c WARNSify, fix .Nm usage, deprecate register 1997-10-19 12:36:23 +00:00
lukem b879efa7db WARNSify, fix .Nm usage 1997-10-19 12:29:35 +00:00
lukem 9142eb1e1e disable WARNS for now 1997-10-19 12:04:58 +00:00
lukem 12987f3cfe fix .Nm usage, add rcsid 1997-10-19 11:53:01 +00:00
lukem 6f330af093 fix .Nm usage, deprecate register, mostly WARNSify (needs minor rewrite to fix) 1997-10-19 11:52:59 +00:00
lukem 9c739a16d7 fix .Nm usage, add rcsid 1997-10-19 11:52:55 +00:00
lukem 403b699b0b fix .Nm usage, deprecate register, mostly WARNSify (needs minor rewrite to fix) 1997-10-19 11:52:12 +00:00
lukem 22930ad0de WARNSify, fix .Nm usage 1997-10-19 10:23:25 +00:00
mrg 987dbad8ba merge lite-2. WARNSify. clean up .Nm. 1997-10-19 08:13:23 +00:00
augustss 8f7e2006bb Print unit if verbose. 1997-10-19 07:46:04 +00:00
augustss 69a1b57acb Update for SunOS compatibility. 1997-10-19 07:44:12 +00:00
lukem b9b0ea96bd WARNSify, fix .Nm usage, deprecate register 1997-10-19 07:18:52 +00:00
lukem c9af5d97cf WARNSify, fix .Nm usage 1997-10-19 06:28:02 +00:00
lukem 0ef9bf0033 WARNSify, fix .Nm usage, deprecate register, use <err.h> 1997-10-19 06:27:20 +00:00
lukem 6c49a51bc6 WARNSify, fix .Nm usage, getopt returns -1 not EOF 1997-10-19 06:23:50 +00:00
mrg 0c67cce512 merge lite-2. 1997-10-19 05:50:26 +00:00
lukem e55eeec2c5 fix up .Nm usage, getopt returns -1 not EOF 1997-10-19 05:49:56 +00:00
mrg 59a949ac9c merge lite-2 -- was mostly already done. grr. 1997-10-19 05:23:48 +00:00
lukem 37a5154c26 deprecate register 1997-10-19 05:19:54 +00:00
lukem 979f7a0097 fix up .Nm usage, getopt returns -1 not EOF 1997-10-19 05:19:15 +00:00
lukem 43298842d0 WARNSify, fix .Nm usage, getopt returns -1 not EOF 1997-10-19 05:17:27 +00:00
lukem f027bde2e7 WARNSify, fix .Nm usage 1997-10-19 05:11:52 +00:00
lukem 79adb0bcbe fix up .Nm usage 1997-10-19 05:09:03 +00:00
lukem 1519255e3b fix up .Nm usage, getopt returns -1 not EOF 1997-10-19 05:08:17 +00:00
lukem 6d1c625f54 fix up .Nm usage 1997-10-19 05:05:24 +00:00
lukem 7c81c8f378 WARNSify, fix .Nm usage, deprecate register, use <err.h> 1997-10-19 05:02:57 +00:00
mrg 1663c913e5 merge lite-2; clean up includes. 1997-10-19 04:59:20 +00:00
lukem 1740d1ed6b WARNSify, fix .Nm usage 1997-10-19 04:41:01 +00:00
lukem 6f9ec05a98 WARNSify, fix .Nm usage, getopt returns -1 not EOF, deprecate register 1997-10-19 04:39:51 +00:00
lukem 00c29d5afe don't define WARNS=1 here 1997-10-19 04:23:02 +00:00
lukem 1ebd6d74c3 fix .Nm usage 1997-10-19 04:21:49 +00:00
lukem 7eabdb0e54 WARNSify, fix .Nm usage, getopt returns -1 not EOF, deprecate register 1997-10-19 04:21:27 +00:00
lukem f715ca9ab7 WARNSify, fix .Nm usage, getopt returns -1 not EOF, deprecate register 1997-10-19 04:20:06 +00:00
lukem 13ee7130b1 s/bzero/memset 1997-10-19 04:18:46 +00:00
lukem 33b5dd5c52 fix .Nm usage 1997-10-19 04:18:08 +00:00
lukem 2dfca6c35c WARNSify, fix .Nm usage, getopt returns -1 not EOF, deprecate register, bcopy 1997-10-19 04:16:47 +00:00
lukem 0c79788813 WARNSify, fix .Nm usage, getopt returns -1 not EOF 1997-10-19 04:15:39 +00:00
lukem 2f6bf4134d WARNSify, fix .Nm usage, deprecate register 1997-10-19 04:11:51 +00:00
lukem 9601657dd8 getopt returns -1 not EOF 1997-10-19 03:55:13 +00:00
lukem 31f40d5207 disable WARNS for now (3rd-party code) 1997-10-19 03:54:42 +00:00
lukem fb35254e19 set WARNS=0 in our Makefile.inc 1997-10-19 03:52:29 +00:00
lukem 44b3805a54 fix up .Nm usage 1997-10-19 03:48:34 +00:00
lukem c16385f7b7 WARNSify, fix .Nm usage, deprecate register 1997-10-19 03:47:52 +00:00
lukem 511567046a fix up .Nm usage 1997-10-19 03:44:30 +00:00
lukem ca15d8c056 don't define WARNS=1 here 1997-10-19 03:44:21 +00:00
lukem 4803fea3e9 WARNSify, fix .Nm usage, deprecate register, use <err.h> 1997-10-19 03:42:18 +00:00
lukem d6dfc8e2db fix up .Nm usage 1997-10-19 03:40:03 +00:00
lukem 50acd78e45 don't define WARNS=1 here 1997-10-19 03:39:50 +00:00
lukem 0dd4a8e6e5 WARNSify mkioctls output, fix .Nm usage, deprecate register 1997-10-19 03:38:27 +00:00
lukem ac4e9aa74a WARNSify, fix .Nm usage, deprecate register, use <err.h> 1997-10-19 03:32:11 +00:00
lukem 180f5dc383 WARNSify, fix .Nm usage, getopt returns -1 not EOF 1997-10-19 03:23:46 +00:00
lukem e8ca1c7c50 getopt returns -1 not EOF 1997-10-19 03:18:54 +00:00
lukem 74502993fd fix .Nm usage 1997-10-19 03:18:18 +00:00
lukem b048688222 WARNSify, fix .Nm usage, deprecate register, use <err.h>, KNFify (with indent!;) 1997-10-19 03:17:12 +00:00
lukem e7e6d7b7b9 don't define WARNS=1 here 1997-10-19 03:16:58 +00:00
lukem f371ce2cb8 WARNSify, fix .Nm usage, deprecate register, use err() from <err.h> 1997-10-19 02:45:44 +00:00
lukem c6810a0286 WARNSify, fix .Nm usage, deprecate register 1997-10-19 02:34:02 +00:00
lukem 78a738b31b use err.h for err() prototype, deprecate register, fix .Nm usage 1997-10-19 02:23:41 +00:00
lukem 8c012c7268 WARNSify, fix .Nm usage 1997-10-19 02:13:39 +00:00
lukem fb9ee7e315 WARNSify 1997-10-19 02:12:40 +00:00
mrg 8f798dca81 merge lite-2. 1997-10-18 16:48:29 +00:00
mrg 226284be12 merge lite-2. 1997-10-18 16:04:21 +00:00
matt 6db79ef042 Allow mailboxes to be in <cr><lf> format. 1997-10-18 15:48:48 +00:00
mrg 09366313d3 "merge" lite-2. our printf is already kinda different...minor changes only. 1997-10-18 15:38:01 +00:00
lukem e74da31dcc don't define WARNS=1 here 1997-10-18 15:31:20 +00:00
lukem 30809d6452 WARNSify, fix .Nm usage, deprecate register 1997-10-18 15:28:04 +00:00
lukem bbfdb6ffc5 WARNSify, fix .Nm usage, deprecate register 1997-10-18 15:14:48 +00:00
lukem e207462d6e WARNSify, fix .Nm usage 1997-10-18 15:05:40 +00:00
mrg acc19d2fa6 "merge" lite-2. (our strip was already radically different and only rcsids were changed) 1997-10-18 15:04:56 +00:00
lukem c5a3c5334f WARNSify, fix .Nm usage 1997-10-18 15:02:15 +00:00
lukem 6533f941fe s/index/strchr 1997-10-18 15:01:05 +00:00
lukem 0c2c736d5a WARNSify, fix .Nm usage 1997-10-18 15:00:11 +00:00
lukem b01545b899 WARNSify 1997-10-18 14:53:48 +00:00
lukem 906b60f5e0 getopt returns -1 not EOF 1997-10-18 14:49:41 +00:00
lukem 1d3ba85e36 WARNSify 1997-10-18 14:48:22 +00:00
lukem d2316002cc fix up .Nm usage 1997-10-18 14:46:54 +00:00
lukem 95737fee5b WARNSify, fix .Nm usage 1997-10-18 14:45:55 +00:00
lukem 397a8a0855 WARNSify (big job!), fix .Nm usage 1997-10-18 14:44:21 +00:00
mrg 0026c9e93a merge lite-2. 1997-10-18 14:34:39 +00:00
lukem 0fbfce3460 WARNSify, fix .Nm usage 1997-10-18 13:54:51 +00:00
mrg 7397398466 merge lite-2. 1997-10-18 13:53:56 +00:00
lukem 043bfc9260 KNFify (with indent(1)) 1997-10-18 13:53:19 +00:00
lukem c8accd1a9f disable WARNS until an ecoff user can clean this up 1997-10-18 13:50:18 +00:00
lukem 38fdbc9351 fix up .Nm usage 1997-10-18 13:50:02 +00:00
lukem ae88474da7 WARNSify, fix .Nm usage 1997-10-18 13:48:35 +00:00
lukem b9d1fbcf87 WARNSify, fix .Nm usage, getopt returns -1 not EOF 1997-10-18 13:38:09 +00:00
lukem 6c98363c96 WARNSify, fix .Nm usage, getopt returns -1 not EOF 1997-10-18 13:21:42 +00:00
lukem 13ba69e21a WARNSify, fix .Nm usage 1997-10-18 13:21:41 +00:00
lukem 263324f188 WARNSify, fix .Nm usage, getopt returns -1 not EOF, deprecate register 1997-10-18 13:21:28 +00:00
lukem 46f4e7d336 WARNSify, fix .Nm usage, getopt returns -1 not EOF 1997-10-18 13:18:15 +00:00
mrg 3ac0787450 merge lite-2; also WARNSify the 2 warnings left. 1997-10-18 13:15:18 +00:00
lukem 227b039655 test against != NULL not == NULL.... 1997-10-18 13:07:39 +00:00
lukem b27d0b84f5 include ../Makefile.inc if it exists 1997-10-18 13:05:22 +00:00
lukem 07d881c8e1 disable WARNS until usr.sbin cron is cleaned up 1997-10-18 13:04:59 +00:00
lukem 2124f91f12 getopt returns -1 not EOF 1997-10-18 13:04:29 +00:00
lukem 7202b75851 WARNSify, fix .Nm usage, getopt returns -1 not EOF 1997-10-18 13:02:59 +00:00
lukem f6d6033f97 WARNSify, fix .Nm usage, getopt returns -1 not EOF, deprecate register 1997-10-18 13:00:12 +00:00
lukem 9e1c8cadc6 WARNSify, fix .Nm usage, getopt returns -1 not EOF 1997-10-18 12:59:04 +00:00
lukem 9992ac3ea9 getopt returns -1 not EOF 1997-10-18 12:54:24 +00:00
lukem 18ce25404d WARNSify, fix .Nm usage 1997-10-18 12:52:04 +00:00
lukem ad23fe25bd WARNSify, fix .Nm usage, bzero -> memset 1997-10-18 12:49:10 +00:00
lukem 782ba3a9bb don' define WARNS=1 here 1997-10-18 12:49:08 +00:00
lukem 5645d77b1c WARNSify, fix .Nm usage, bzero -> memset 1997-10-18 12:48:40 +00:00
lukem 5f18af1fa6 WARNSify, fix .Nm usage 1997-10-18 12:39:50 +00:00
lukem 5c1befb6a9 WARNSify, fix .Nm usage, deprecate register 1997-10-18 12:38:05 +00:00
lukem b749a32930 WARNSify, fix .Nm usage 1997-10-18 12:31:01 +00:00
lukem 0b3de1cab3 WARNSify, fix .Nm usage, deprecate register 1997-10-18 12:27:31 +00:00
lukem b4d27c3a21 WARNSify, fix .Nm usage 1997-10-18 12:24:53 +00:00
lukem 8ebe3a25b5 getopt returns -1 not EOF 1997-10-18 12:23:21 +00:00
lukem 80baf83f8c WARNSify, fix .Nm usage 1997-10-18 12:12:38 +00:00
lukem e3e553a90c fix .Nm usage 1997-10-18 12:05:22 +00:00
lukem 7cb59a4b6c WARNSify, fix .Nm usage 1997-10-18 12:04:01 +00:00
lukem 30bd602219 s/bcmp/memcmp 1997-10-18 11:56:11 +00:00
lukem ffe5b43454 WARNSify, fix .Nm usage 1997-10-18 11:52:32 +00:00
lukem 10a4ee85e0 WARNSify, fix .Nm usage 1997-10-18 11:47:18 +00:00
mrg 3740466adc merge lite-2. 1997-10-18 11:38:27 +00:00
lukem 99071d1bef KNFify, generate prototypes, etc (to shut up WARNS on generated code) 1997-10-18 10:53:37 +00:00
lukem 03e194f678 - don't generate register variables
- always include syslog.h if -L; remove test for #ifdef SYSLOG
- create ANSI C function prototype in server write_program()
- clean up .Nm usage in man page
- document -L in man page
1997-10-17 15:51:48 +00:00
lukem 76da6c89a7 WARNSify 1997-10-17 11:36:51 +00:00
enami dd88a36ade Fix typo; `symbolic link' -> `a symbolic link'. 1997-10-17 08:10:22 +00:00
mikel d7350315cf now needs -I to find headers from ../man 1997-10-17 07:08:51 +00:00
mikel 4d52d27c85 cleanup for WARNS=1; also avoid feeding relative pathnames to
#include, and avoid using array contents out of scope.
1997-10-17 07:08:06 +00:00
mikel 462a1eae17 add support for globbing _whatdb entries in man.conf; from Mike
Grupenhoff in PR bin/1904 with some improvements by myself.
1997-10-17 06:58:52 +00:00
mikel d00b77f18b now needs -I to find headers from ../man 1997-10-17 06:51:04 +00:00
mikel 9653f53ecf cleanup for WARNS=1; also avoid using relative paths with #include, and
avoid using the contents of an array outside of its scope.
1997-10-17 06:49:16 +00:00
mikel 78b44c8f92 cleanup for WARNS=1 1997-10-17 06:42:09 +00:00
augustss 8bbf1c89e8 Test for valid mixer class the right way. From PR 4279. 1997-10-16 23:28:17 +00:00
mikel effc153920 add support for globbing _whatdb entries in man.conf; from Mike
Grupenhoff in PR bin/1904.
1997-10-16 08:44:23 +00:00
christos 49e050d183 PR/4257: Jaromir Dolecek: Compensate for the libedit changes. 1997-10-14 16:31:22 +00:00
christos 73d7366361 Change CFLAGS to CPPFLAGS 1997-10-14 15:09:22 +00:00
lukem 2aa5d6b785 WARNSify, use <termcap.h> 1997-10-14 02:07:55 +00:00
lukem a04cd750cc WARNSify, use <termcap.h> instead of <curses.h> 1997-10-14 01:46:32 +00:00
lukem 2122942c25 WARNSify, use <termcap.h>, rename setmode() to setulmode() to prevent nameclash 1997-10-14 01:40:20 +00:00
lukem c72c1882ab WARNSify, use <termcap.h> 1997-10-14 01:28:47 +00:00
mycroft 83ef48db0a Undo part of the previous; don't allow logins if we've passed pw_change.
The semantics of this are not well documented.  *sigh*
1997-10-12 15:21:24 +00:00
mycroft 97734d5e35 Refuse login only when we've past pw_expire, not pw_change. Check pw_expire
first.
1997-10-12 15:11:24 +00:00
mycroft 879c3292d6 Several things:
* Change the semantics of the `-s' option somewhat.  If specified, allow
either Kerberos or S/Key login, but not a plain password.
* Eliminate the special `s/key' password; just type it at the prompt.
* Remove the root instance special case.  This is a serious security hole
waiting to happen, and no other system works this way.
* Don't force a password change if Kerberos was used.  Also, don't call
/bin/passwd at all if the password change isn't required.
1997-10-12 15:05:24 +00:00
mycroft 2b4b3f1ded SRCS must be defined *before* bsd.prog.mk is included... 1997-10-12 14:07:38 +00:00
mycroft fc2c065578 Get rid of special cases for `s/key' password. 1997-10-12 14:07:06 +00:00
mycroft d91c72fbd3 Minor changes. 1997-10-12 13:10:16 +00:00
mycroft 37d3b7eb77 Eliminate redundant library inclusion. 1997-10-12 12:56:51 +00:00
mycroft e6751fc584 Minor changes. 1997-10-12 12:54:55 +00:00
mycroft 4163fb775c Make this compile without SKEY. 1997-10-12 12:54:20 +00:00
mycroft 1434f98d69 If we compile without SKEY, abort if a -s option is used, rather than silently
failing to enforce it.
1997-10-12 12:42:38 +00:00
mycroft 40471d4e79 Pull in bsd.own.mk for SKEY, KERBEROS, KERBEROS5. 1997-10-12 12:39:17 +00:00
mycroft 5171059387 Fix uninitialized variable. 1997-10-12 12:31:40 +00:00
mikel d9c915fd1a add missing .Nm argument 1997-10-12 05:51:47 +00:00
mycroft db43b6b7a0 And a little more... 1997-10-11 22:19:12 +00:00
mycroft bfa2e15a32 Fix the format of the output slightly. 1997-10-11 22:16:45 +00:00
christos 935794817d - Rename "inline" variable to "doinline" so that we don't need -ansi
- Fix gcc warnings and add netbsd rcsid's
- add WARNS to the Makefile
- Add errx() to unhandled cases where appropriate.
1997-10-11 21:01:26 +00:00
christos 470e6b8604 CFLAGS->CPPFLAGS; Conditionalize SKEY 1997-10-11 19:19:11 +00:00
christos 5f3d5ce5cf Conditionalize SKEY support. CFLAGS->CPPFLAGS 1997-10-11 19:16:28 +00:00
christos 06a0ab2d5f CFLAGS->CPPFLAGS, and general cleanup; add WARNS 1997-10-11 19:13:39 +00:00
augustss 64e2e4badb Print properties differently.
Change indentation.
1997-10-11 13:40:26 +00:00
mycroft 088478fe61 If the ETA is too large to fit on the display (i.e. 100 hours or more), don't
try to display it.
Also, eliminate many extra calls to strlen().
1997-10-11 12:05:15 +00:00
mycroft fe47ecc300 Also need -I. to get menu_defs.h in an obj dir. 1997-10-11 11:49:36 +00:00
mycroft ffc08ff2c0 Clean this up, and make it work with obj directories. 1997-10-11 11:46:49 +00:00
mycroft 5ec8e0144d Clean up this garbage. 1997-10-11 11:37:21 +00:00