Commit Graph

2149 Commits

Author SHA1 Message Date
tls a264bd54a1 Fix several bugs in Kerberos support due to an accidental commit months ago of an incomplete version of the code. Now works; also now falls back to 'old' rlogin correctly. 1997-06-28 23:43:36 +00:00
lukem 8d846dbbd1 * Notify of impending password or account expiry (check against
_PASSWORD_WARNDAYS from <pwd.h>). For non-root users, enforce expiry when
  it happens. From Simon Gerraty <sjg@zen.void.oz.au> in [bin/935].
* Check for group 0 in process's current group membership (as returned by
  getgroups(2)), instead of just looking at the entry for wheel in /etc/group.
  Based on code by Dan Caresone <dan@oink.geek.com.au> in [bin/792], and
  also solves [bin/2466].
* Clean up to pass -Wall
1997-06-27 17:01:53 +00:00
lukem 9c9e83ed7f use _PASSWORD_WARNDAYS from <pwd.h> 1997-06-27 16:42:22 +00:00
kleink 52a3f39615 POSIX.2 utilities must call setlocale(LC_ALL, ""); 1997-06-26 23:18:05 +00:00
kleink 0505614d4e Fix formatting directives; from SAITOH Masanobu <msaitoh@spa.is.uec.ac.jp>
in PR misc/3795.
1997-06-26 20:23:44 +00:00
lukem 5170144fac Apply [bin/3270] from Simon J. Gerraty <sjg@quick.com.au>, with fixes by me:
* if the user has an s/key, provide a reminder in the password prompt
* if '-s' is given once, force a user that has an s/key to use it
* if '-s' is given more than once, only permit s/key logins
1997-06-25 00:15:04 +00:00
mikel f60c9adfd6 include <string.h> and <unistd.h> for prototypes 1997-06-24 06:18:58 +00:00
lukem 4182cf294c Add support for -0 (to be used with find -print0); from OpenBSD.
Clean up man page a bit.
1997-06-24 00:45:28 +00:00
mrg 586ed80911 install all man pages. 1997-06-23 13:25:41 +00:00
lukem 806ac9275c Install statically linked, as suggested by mrg@eterna.com.au in [bin/1715]. 1997-06-23 12:47:45 +00:00
veego de140ea979 Move stdio.h before skey.h to get the FILE struct. 1997-06-23 11:19:10 +00:00
mikel 63482e654c include <skey.h> for skey function prototypes, add parens for gcc -Wall 1997-06-23 01:20:40 +00:00
christos 0dd9a66363 Don't need "md4.h" and "skey.h" -> <skey.h> 1997-06-22 18:51:47 +00:00
christos f109caff0b - Don't need extra CFLAGS anymore
- Remove skeyinfo.
1997-06-22 18:51:15 +00:00
christos e4078d59e4 Add skeyinfo 1997-06-22 18:50:33 +00:00
christos eb3207d9ee PR/3417: Andrew Brown: Skeyinfo should be a program so that if /etc/skeyskeys
is mode 600, it can only read the user's own keys.
1997-06-22 18:49:55 +00:00
christos f2ad06ea17 Now this is a separate program. 1997-06-22 18:44:37 +00:00
mellon 3921fa8412 Prototype everything, fix RCS Id 1997-06-21 04:41:27 +00:00
lukem 19474db41e Ensure calendar doesn't go past \0 in a string.
From Douglas Crosher <dtc@scrooge.ee.swin.oz.au> in [bin/1018]
1997-06-20 08:11:34 +00:00
christos 1f54dc36dd Use mkstemp 1997-06-18 19:08:29 +00:00
christos f8c7b1919f Kill warnings in skeleton for gcc -Wall 1997-06-18 19:08:05 +00:00
mikel ddeaf8c1de fix off-by-one error in malloc() call; from Ted Felix in PR bin/3752. 1997-06-17 07:26:38 +00:00
thorpej 1fb754977a Need <sys/exec.h> to get stuff that <machine/ecoff_machdep.h> needs. 1997-06-16 22:10:27 +00:00
christos 47af6101e4 - PR/3727: Wolfgang Rupprecht: rsh takes 80% of the cpu
- rsh/rcmd combinations don't die sometimes, and spin in poll loops
    + detect errors from read/write etc, don't ignore them in some cases
    + use INFTIM instead of 0 in poll
    + detect invalid file descriptors in poll
    + use varargs/stdarg as appropriate
    + use posix signal calls
    + EWOULDBLOCK -> EAGAIN
1997-06-16 20:54:16 +00:00
jtk c637244f86 improve (slightly) dense wording in the bugs section 1997-06-16 02:13:46 +00:00
jtk 9ed98415a3 exit with error if extra arguments are left on command line 1997-06-16 02:10:45 +00:00
bouyer 558f2d0ebe Make this compile again, and add support for ext2fs.
Also 2 ufs->ffs conversions in pstat.8.
1997-06-12 07:45:28 +00:00
lukem 3e92284533 * Only print the progress bar when ftp(1) is the foreground progress.
Patch from enami tsugutomo <enami@ba2.so-net.or.jp> in [bin/3735].
* Fix punctuation.
1997-06-10 21:59:58 +00:00
lukem a95a28e4d8 Don't use editing or progress bar if $TERM isn't set or is "dumb". Fixes
emacs ange-ftp. Suggested by Todd Miller <Todd.Miller@courtesan.com>,
tested by matt green <mrg@eterna.com.au>
1997-06-10 07:04:43 +00:00
christos 9981dd99c2 Apparently, using _doprnt(_IOREAD) to emulate vsnprintf() on SVR4 *sometimes*
core-dumps; use sprintf()+strlen() for now.
1997-06-07 16:42:31 +00:00
christos 702a3f7097 Deal with archive.a(member.o) nodes when expanding .USE dependencies or
adding children to .OODATE.
1997-06-07 16:41:09 +00:00
christos fab62ec0e9 Don't confuse `member' with `target' 1997-06-07 16:39:45 +00:00
jtk 8bd5e0fbf3 remove spurious comma in newstyle structure return case 1997-06-06 17:27:33 +00:00
mrg 66bc7bd651 fix PR#3710, reported by Tatoku Ogaito <tacha@trap.fukui-med.ac.jp>.
- don't pass pw->pw_name into functions; make a copy.
1997-06-05 16:10:46 +00:00
mikel c1c7844b3d fix typo in SYNOPSIS, nuke duplicate RCSid 1997-06-05 06:35:24 +00:00
leo bafe3a5dcf Use MACHINE instead of MACHINE_ARCH to make fdformat on the atari. 1997-06-04 13:54:08 +00:00
mikel b606e6941b fix some minor macro usage and other bugs; some from Saitoh Masanobu
in PR misc/3656, others by myself.
1997-06-03 06:31:20 +00:00
mycroft eed746a9eb Don't interpret _POSIX_VDISABLE as a special character. 1997-06-03 01:51:43 +00:00
mrg 701a388310 rsh is not setuid anymore. 1997-06-02 11:58:13 +00:00
mrg 32b4c34ed2 rcmd(1) does not use argv[0] for hostname, like rsh does.
apply patch for pr#3695 from <hannken@ppp-jhi.eis.cs.tu-bs.de>.
1997-06-02 11:57:23 +00:00
kleink 86d80fb61d Determine characters to be swallowed by means of locale and ctype.
This addresses PR/3693 from Jaromir Dolecek <dolecek@moria.ics.muni.cz> but
does not really fix it, as the new ctype package has yet to be integrated.
1997-05-31 15:13:49 +00:00
cgd c917dfb5b2 Fix broken uses of Dd. Both the mdoc and mdoc.samples pages agree:
.Dd is supposed to be invoked like:
	.Dd month day, year
e.g. ".Dd January 25, 1989", rather than:
	.Dd "month day, year"
which is what these pages did.
1997-05-29 01:48:05 +00:00
pk 3552d54978 Erase spurious character. 1997-05-26 23:07:31 +00:00
pk 7abb0d066d Minor formatting glitch. 1997-05-26 21:04:28 +00:00
mrg bf96b282ae rdist is no longer setuid root. 1997-05-26 14:30:47 +00:00
mrg 04bd3838df add bits to allow this to be compiled as rcmd. 1997-05-26 14:29:36 +00:00
cjs c2f4b90a72 PR 3666 from Thorsten Frueauf <frueauf@ira.uka.de>
Fix formatting.
1997-05-25 03:52:45 +00:00
lukem 8b0030a6fc Simplify NLST parsing code in complete_remote(); just basename each of
the returned names! Fixes parsing problems caused by the differences
between NLST output on BSD, Solaris, and Windows NT.
1997-05-24 16:34:30 +00:00
jtc 8fd3f56f2c Use the new getmaxx and getmaxy macros instead of directly accessing
the private fields of WINDOW.
1997-05-24 00:48:24 +00:00
lukem c04e79d154 url_get(): use origline in some messages, simplifying them, and free up copy
of origline before returning. also, previous commit (fix for [bin/3643]) was
inspired by suggested fix in said PR by Alan Barrett <apb@iafrica.com>.
1997-05-23 18:54:18 +00:00
lukem 7cb8cd9611 Actually report why certain URLs are invalid, rather than just exit
with a non-zero exit code. fixes most of [bin/3643].
1997-05-23 18:42:36 +00:00
augustss f02b371b53 Improve printing of values when changing a variable. 1997-05-23 17:55:29 +00:00
christos aef7001870 PR/3660: Dave Huang: Fix formatting misalignments in appletalk
PR/3659: Dave Huang: Fix PCB reporting in appletalk
1997-05-22 17:21:26 +00:00
augustss 72a30783f7 Fix pasto. 1997-05-21 22:25:13 +00:00
lukem c3d0010341 remove use of register. 1997-05-21 02:20:15 +00:00
lukem 9f26a55f84 * free up returned data if yp_master() or yp_match() failed
* simplify two case 'switch'es into 'if' statements
1997-05-21 02:19:06 +00:00
lukem 43b1f9b62a * free up data after a failed yp_match()
* simplify a two case switch into an if statement...
* remove use of register
1997-05-21 02:09:51 +00:00
mycroft c19bda7d4c Check the .PHONY attribute... 1997-05-20 22:53:30 +00:00
augustss 677762bbed Fix bugs when recording source is a set. 1997-05-19 17:32:07 +00:00
augustss 3f516911f6 Fix some buglets and clean up a little. 1997-05-19 16:32:54 +00:00
kleink 85793595bf Fix lossage revealed by the recent `lseek() vs. negative offsets' changes;
from John F. Woods <jfw@jfwhome.funhouse.com> in PR/3634.
1997-05-19 10:01:52 +00:00
mycroft 79bc5bb41f Use inet_aton(3) rather than inet_addr(3). 1997-05-19 03:44:43 +00:00
mjacob 9c69077919 Macro expansion of shell metacharacters did not occur for me. I made
a :sh variable to get the list of magic files instead.
1997-05-17 21:15:35 +00:00
pk 62972ee658 * NULL => 0 (Arne Juul; PR#3629)
* Nuke spacoids.
1997-05-17 20:26:47 +00:00
pk 4e8f3bc55c * NULL => 0 (Arne Juul; PR#3629)
* Use braces in initializers.
1997-05-17 20:24:26 +00:00
pk b55c3729fe NULL => 0 (Arne Juul; PR#3629) 1997-05-17 20:09:26 +00:00
pk e6d7c2dd4e * NULL => 0 (Arne Juul; PR#3629)
* Insert prototypes.
1997-05-17 20:06:57 +00:00
pk f890b048ac NULL => 0 (Arne Juul; PR#3629) 1997-05-17 19:47:50 +00:00
pk 585a85d3d0 * NULL => 0 (Arne Juul; PR#3629)
* Nuke spacoids
1997-05-17 19:46:27 +00:00
pk f6d87734a6 NULL => 0 (Arne Juul; PR#3629) 1997-05-17 19:40:47 +00:00
jtk f0cba0dcb5 MIPS RS3000 should be R3000 1997-05-17 12:36:22 +00:00
augustss 240af559df Add HISTORY section. 1997-05-15 16:38:34 +00:00
veego cb2070d1b6 Replace the clean target with a CLEANFILES+= line 1997-05-15 10:08:47 +00:00
gwr 3ec69570ea Change .PATH.c to .PATH (another one I missed) 1997-05-14 15:57:07 +00:00
mellon 6aaccda600 DC is not a user-settable variable, but was being partially confused with one 1997-05-14 00:20:01 +00:00
gwr 7616209210 Change .PATH.c back to .PATH (missed this one) 1997-05-13 23:48:31 +00:00
augustss 9d5e7c9a4c Add audio utility programs.
The audio device can be inspected and changed by audioctl,
and the mixer device by mixerctl.  The command syntax was
inspired by sysctl.
1997-05-13 17:35:50 +00:00
mikel d42ad5411c don't try to ignore invalid signal; fixes PR bin/2901. 1997-05-13 06:48:42 +00:00
mikel 254cb6fdc9 fix some potential buffer overflows, and other cleanup. 1997-05-13 06:15:52 +00:00
mikel b674a8fd0e fix typos noted by Masanobu Saitoh <msaitoh@spa.is.uec.ac.jp>. 1997-05-13 04:15:06 +00:00
lukem 808ec252ad don't print -ve ETA if file size has grown. noticed by hpeyerl@netbsd.org 1997-05-12 11:41:13 +00:00
mikel 90842c1ab1 xref sigaction(2), not obsolete sigvec(2). 1997-05-12 08:03:28 +00:00
mikel fdae96ca39 fix a typo, noted by SAITOH Masanobu in PR misc/3599.
while I'm here, fix some other nits.
1997-05-11 07:22:35 +00:00
mycroft 2d4fff450e Add another .PHONY. 1997-05-10 14:30:38 +00:00
mycroft 70f7fd1f59 Hack to work around compiler bug for now. 1997-05-09 18:07:23 +00:00
christos 041c0c5158 Change the way curdir is handled [this started at the previous version]...
Instead of adding it in .PATH, handle it specially the same way as "." is
handled.
1997-05-09 17:05:59 +00:00
mycroft caabb7f9be Clean up these Makefiles some more. 1997-05-09 15:04:03 +00:00
mycroft ed67bf81a0 Use DPSRCS. 1997-05-09 13:28:39 +00:00
mycroft cbd2582f5b Make these work again. 1997-05-09 12:38:30 +00:00
mycroft cc4a1553a1 Eliminate bogus redefinitions of standard targets. 1997-05-09 07:50:03 +00:00
mycroft f88245a571 Make sure to propagate OP_PHONY to all cohorts that already existed. 1997-05-09 04:08:26 +00:00
mycroft 8aed472136 Fix description of .NOPATH. 1997-05-08 22:34:34 +00:00
gwr bf6930a26c Add the new .NOPATH feature which can be used to disable .PATH search
for particular targets, i.e. .depend, objects, etc.  (from Christos).
1997-05-08 21:24:41 +00:00
gwr 10e180cc49 Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
cjs 90423c173a If the -m option is used, make will check for the existence of the
directory specified, and add it to sysIncPath only if it exists.
However, afterwards make tested for the presence of a -m option by
checking to see if sysIncPath was an empty list, and assumed that
the -m option was not used if it was empty. This obviously breaks
if -m specified a non-existent directory. So I have added a flag
that is set if the -m option is used, and I test that instead.
1997-05-08 05:19:46 +00:00
mrg ca4f633f80 ensure strncpy() is nul terminated. 1997-05-07 16:35:34 +00:00
mycroft 9091c8c59a Clean up the proginstall hacks a little. 1997-05-07 16:06:00 +00:00
mycroft 6e0450c70f Use proginstall:: to disable installing PROG. 1997-05-07 15:59:08 +00:00
mycroft 01925a4fb0 Copy the .PHONY attribute to the cohorts of a double dependency. 1997-05-07 13:12:33 +00:00
mycroft a66a01875e Ignore `-t' when the .MAKE attribute is set. 1997-05-07 07:31:37 +00:00