Commit Graph

542 Commits

Author SHA1 Message Date
mrg 89b6eee876 merge lite-2 rcsids 1997-10-08 09:12:46 +00:00
mrg 2268d2dfb3 merge lite-2 Makefiles (rcsids), and turn on WARNS for all of libexec. 1997-10-08 09:07:11 +00:00
mrg 896c1cce87 WARNS?=1 1997-10-08 08:55:35 +00:00
mrg ee62445dbf WARNS?=1. RCS ids. 1997-10-08 08:45:07 +00:00
mrg 0cb14e7641 fix warnings on the alpha. 1997-10-08 07:24:51 +00:00
mrg 7796977716 WARNS?=1. RCS ids. 1997-10-08 07:07:40 +00:00
enami f002de2f5a Put a whitespace after the keyword `switch'. 1997-10-08 01:09:02 +00:00
enami 7c92c8b774 Compare a return value of getopt() against -1 instead of EOF. 1997-10-08 01:04:31 +00:00
enami cd2bc25e31 Put a whitespace after the keyword `switch'. 1997-10-08 01:03:00 +00:00
enami 34bbb35be5 Compare a return value of getopt() against -1 instead of EOF. 1997-10-08 01:02:00 +00:00
enami 782a241926 Put a whitespace after the keyword `switch'. 1997-10-08 01:00:41 +00:00
enami 42eb13e478 Compare a return value of getopt() against -1 instead of EOF. 1997-10-08 00:56:46 +00:00
mrg ad681f7eae WARNS?=1. RCS ids. 1997-10-07 13:44:03 +00:00
mrg 3d8d628a25 WARNS?=1. RCS ids. 1997-10-07 13:39:56 +00:00
mrg cd359aa2a0 fix warnings on alpha. 1997-10-07 13:13:41 +00:00
mrg 08a6736e8b WARNS?=1. RCS ids. did not merge very much of lite-2. 1997-10-07 13:07:44 +00:00
mrg a5a68ff5f2 WARNS?=1. RCS ids. 1997-10-07 11:28:16 +00:00
mrg 59093d44d1 WARNS?=1. RCS ids. cleanup a little. 1997-10-07 11:15:16 +00:00
mrg 51564e1ed5 WARNS?=1 1997-10-07 11:08:51 +00:00
mrg 16e14cfd8d WARNS?=1. RCS ids 1997-10-07 10:57:08 +00:00
mrg 78a8e977dc WARNS?=1. 1997-10-07 10:49:16 +00:00
mrg 04766f1d6e WARNS?=1. RCS ids 1997-10-07 10:43:53 +00:00
mrg f37be23211 WARNS?=1 1997-10-07 10:37:30 +00:00
mrg e84cc39ec8 merge lite-2. 1997-10-07 10:29:01 +00:00
mrg da5c78b3aa merge lite-2. WARNS?=1. 1997-10-07 10:11:29 +00:00
mrg 2435b32dc3 oops, forgot to add WARNS here. 1997-10-07 09:48:03 +00:00
mrg 60cef5019e WARNS?=1. merge lite-2. 1997-10-07 09:46:45 +00:00
mrg 7bcd5087e9 WARNS?=1. also, call setlogin(). 1997-10-07 09:29:50 +00:00
lukem 96ad830ee2 - add '-C user', which runs checkaccess(user) and exits with the result
(0 == user allowed in /etc/ftpusers, 1 == user denied in /etc/ftpusers).
  from Jim Bernard <jbernard@tater.mines.edu> in [security/4061] with mods
- getopt returns -1 not EOF
- in lostcon(), call dologout(1) not dologout(-1);
1997-09-23 14:25:30 +00:00
lukem 550665a814 implement '-c confdir', which allows the specification of an alternate
directory to look for the various configuration files, overriding /etc.
From Matthias Scheler <tron@lyssa.owl.de> in [bin/4133]
1997-09-23 13:56:39 +00:00
cjs 74762c9036 Mention that if the user's shell is null, it's assumed to be /bin/sh.
(Pointed out by Jim Bernard <jbernard@tater.mines.edu>.)
1997-09-21 22:59:03 +00:00
thorpej 46f168d9f2 The "ufp" global wasn't used in any XIDLE code, so don't declare it inside
an #ifdef XIDLE.  Instead, declare it as an automatic in each function that
uses it.
1997-09-19 00:50:04 +00:00
lukem 67d65f4970 - ensure 257 reply codes from PWD and MKD are RFC959 compliant:
257 "dirname" some message
  (any "s in dirname should be doubled, per the RFC)
- don't put an extra / in the output of NLST if the last char in the
  directory is a /
- bump the version to 7.01 because of these fixes
1997-09-18 07:27:35 +00:00
christos 73f3225d4b fix WARNS=1 1997-09-17 20:19:43 +00:00
christos fa64ad7ffc Fix for WARNS=1 1997-09-17 20:16:07 +00:00
christos 4c865ddc97 Oops forgot this. 1997-09-17 16:36:25 +00:00
christos 06f9c7876a Fix WARNS problems. sigsetjmp() was missing an argument. 1997-09-17 16:35:54 +00:00
mrg 59c4211ee9 `-s' for `secure' doesn't make much sense. just note that it disables
forwarding of finger requests.  also, log the text of the request if
supplied.  cleanup for WARNS=1.
1997-09-09 05:38:24 +00:00
mrg 2db0ee4c18 add "-g" flag: this just gets passed to finger. 1997-09-09 02:40:42 +00:00
lukem 05efcc80e4 fix grammo 1997-08-26 13:10:39 +00:00
kleink 66105c37fc Lseek(2) usage cleanup: the use of L_SET/L_INCR/L_XTND is deprecated,
use SEEK_SET/SEEK_CUR/SEEK_END instead.
1997-08-25 19:31:43 +00:00
lukem 0bba8ce38d * don't depend upon buffer returned by fgetln() to remain. fix mainly
from Tatoku Ogaito <tacha@tera.fukui-med.ac.jp> in [bin/3967]
* fgetln() doesn't \0 terminate its string. look for the \n and replace
  it with \0 (if no \n, ignore the line - it's most likely corrupt)
* more intensive checks on strdup() returns (not a current mem leak,
  but depended upon code elsewhere to cleanup - not good)
* cleanup some syslog error messages
1997-08-14 02:06:15 +00:00
mikel 2db7de74e1 set WARNS?=1 1997-08-06 07:23:34 +00:00
mikel 64521eb343 use <sys/cdefs.h> __COPYRIGHT() and __RCSID() macros
prototype internal functions and eliminate old function declarations
misc cleanup (gcc -Wall) and KNF
1997-08-06 07:22:24 +00:00
mikel a6da6f6585 don't include <signal.h> twice 1997-08-06 05:40:28 +00:00
mycroft 24704de42f Ignore SIGCHLD. 1997-08-04 18:00:14 +00:00
perry 72c4d6ba1c now finds symlinked man pages, as submitted by Thorsten Frueauf in pr-3087 1997-08-04 03:01:59 +00:00
mikel a7d3a434b9 avoid void pointer arithmetic 1997-08-01 06:33:39 +00:00
jtc a158249541 Fix files using old TNF copyright notice 1997-07-31 00:08:03 +00:00
perry 365cb9dcc8 clean up .Nm entries, and change a silly .Nm gettytab 5 to an .Xr 1997-07-31 00:06:20 +00:00