Commit Graph

2317 Commits

Author SHA1 Message Date
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
mycroft af65e81265 Make these executables world-readable. 1997-10-11 11:05:28 +00:00
mycroft e96e918e60 Use bsd.subdir.mk as appropriate. 1997-10-11 09:34:07 +00:00
enami b34354ff76 Add h option to usage. 1997-10-11 03:12:17 +00:00
mycroft 1999e9c4b7 Fix more white space lossage. 1997-10-09 17:58:15 +00:00
mycroft 7b80581cc5 More KNF. 1997-10-09 16:54:38 +00:00
mycroft 97d989af48 Output the declaration for the loop index variable in the same block as the
rest of the vector inline code.
1997-10-09 16:31:12 +00:00
mycroft daa885fdce Fix another white space glitch. 1997-10-09 15:19:48 +00:00
mycroft eefe653830 Clean up some minor white space nonsense in the output. 1997-10-09 15:13:19 +00:00
mycroft a377886de6 Make the output more KNF-like, and only output the inlining variables when
needed.
1997-10-09 15:12:24 +00:00