Commit Graph

3702 Commits

Author SHA1 Message Date
christos 3b943b9c88 declare EXITSTRING 1999-07-26 06:19:01 +00:00
itohy 2b46b2b820 Eliminate illegal cast from function pointer (sig_t) to object pointer (void *). 1999-07-26 01:49:09 +00:00
christos edac4bd44f fix SDEAD problems. 1999-07-23 18:40:27 +00:00
veego bb1198e9ee According to the previous commit the new process state should be SDEAD and
not SDYING, so s/SDYING/SDEAD/.
And add the new element "dying" to the state_abbrev array.
XXX Is is correct to have two elements with the number 3 in sorted_state?
1999-07-23 09:01:09 +00:00
veego 03fd106af5 According to the previous commit the new process state should be SDEAD and
not SDYING, so s/SDYING/SDEAD/.
1999-07-23 08:56:13 +00:00
itohy 17cd5b4ec1 Fix memory-related problems.
Other problems remain, though....
1999-07-23 03:12:31 +00:00
itohy 99624b0b6d Fix fowllowing problems:
1. If fork()ing, the program is executed twice.
2. If the ktruss(1) output is bufferd, the final output is not flushed
   (because it is executing).

    % ktrace -f - rm >/dev/null
    usage: rm [-dfiPRrW] file ...
    usage: rm [-dfiPRrW] file ...
    % ktruss date | cat
    Fri Jul 23 12:09:45 JST 1999
    Fri Jul 23 12:09:46 JST 1999
    %
1999-07-23 03:10:49 +00:00
thorpej 3586621927 Update for SDEAD. 1999-07-22 18:16:05 +00:00
kleink 6546b1feed Try $TMPDIR first, then fall back to _PATH_TMP. 1999-07-22 15:09:45 +00:00
itohy b70a1b7220 A caught signal is blocked in the handler and
must be unblocked to do the default action.
The old code may generate weird exit status
on signals.
1999-07-22 03:02:36 +00:00
kleink fbfc6d0d28 Rather than hardcoding _PATH_TMP (and relying on const string concatenation),
try TMPDIR (if set in the environment).
1999-07-21 15:20:55 +00:00
jtk be9d0297fd fix handling of port number preceded by minus sign to restore documented behavior 1999-07-21 13:24:56 +00:00
cgd b02d81404c avoid repeated error messages by making bytes(), lines() and rlines() return
meaningful values, which can then be checked to avoid another error message.
1999-07-21 06:38:49 +00:00
itojun 31055e9319 cleanup EPSV return code checking part.
remove debug fputs() left by mistake.
1999-07-20 17:52:03 +00:00
mrg ba255f8a34 optionally include CRYPTOPATH Makefile.frag files. 1999-07-20 09:47:07 +00:00
mrg 51a96a002f optionally include CRYPTOPATH Makefile.frag files. 1999-07-20 09:35:18 +00:00
kleink 13ca730983 Mention -iregex and -regex primaries being non-standard extensions. 1999-07-20 09:02:24 +00:00
cgd 91ff0a1b87 add -regex and -iregex primaries which, like GNU find's primaries of the
same name, match files' entire paths against regular expressions.
-regex is case sensitive, -iregex is case-insensitive.  Note that these
primaries are _not_ entirely compatible with the GNU find primaries,
because their BREs appear to support alternation with \| whereas our BREs
do not.  Also note there are no primaries which provide extended regular
expressions matching, though if they are desired they would be trivial
to implement.
1999-07-20 01:28:41 +00:00
itojun a382c0c34d avoid false warnings on 22x reply code checks. previous code was too picky.
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
1999-07-17 22:39:18 +00:00
christos 6653fa8b3c How did this bug survive for so long? 'who am i' was busted because
it checked for valid utmp entries with usr.ut_name != NULL which can
never happen ofcourse, instead of usr.ut_name[0] != '\0'
1999-07-17 16:41:44 +00:00
ad 77895f938d - cdplay(1) first appeared in 1.5.
- correct date on manpage.
1999-07-16 14:15:49 +00:00
christos 10e7b7f04d Fix extreme brokeness with job control that appeared when we set USE_PGRP. 1999-07-16 05:38:20 +00:00
wrstuden f61cc70c2c Make these files use bsd.hostprog.mk so you can cross-compile tn3270! 1999-07-14 21:36:36 +00:00
itojun 6ae77d03dc clarify socket-connect trial loop. fix freeaddrinfo().
adjust indentation (commands.c uses sw=4 ts=8).
1999-07-14 20:47:41 +00:00
itojun 1e44889b75 implement more fallback case for EPSV. BSDI ftpd is very broken
that it returns status 228 against EPSV, where it must return status
of 229.

separate PASV and LPSV processing.

PR: 7976
1999-07-13 21:43:31 +00:00
kleink 8731671861 If not specified on the command line, attempt to fall back to the environment
variables AUDIODEVICE (for -d) and AUDIOCTLDEVICE (for -C, already used in
audioctl(1)) before falling back to _PATH_* constants.
1999-07-13 14:02:33 +00:00
thorpej 9630ed475e Use bsd.crypto.mk. 1999-07-12 22:11:37 +00:00
thorpej 7550139fd7 Whitespace cleanup. 1999-07-12 22:10:52 +00:00
thorpej 1c912b351f Nuke this from orbit. We don't have placeholders for any of the other
only-in-crypto-us programs, so why should this be any different?
1999-07-12 22:07:22 +00:00
aidan 3a4abbe0d1 Kerberos5 changes to login -- now supports forwarded TGTs. 1999-07-12 21:36:10 +00:00
itojun 9b9f995d4b call freeaddrinfo() after getaddrinfo() to reclaim results. 1999-07-12 20:50:54 +00:00
itojun a40e2f2822 IPv6 support.
clarify a bit (specifically, routines in tftp.c now does not
modify "peeraddr")
1999-07-12 20:19:20 +00:00
thorpej 70b6975a7e Fix a typo. 1999-07-12 18:22:49 +00:00
thorpej 00fb13f649 Revert previous, as it merely worked around a recent bug in make(1) which
is now fixed.
1999-07-12 18:17:56 +00:00
itojun e56c252759 make sure to use files in ${.CURDIR} before ${.CURDIR}/../../sys/netiso.
(namely iso.c)
1999-07-12 17:53:42 +00:00
itojun 5d56439d90 merge SRCS into one. 1999-07-12 17:48:45 +00:00
thorpej 484fe86089 Correct an inverse initialization of a variable, which caused all .PATHs
to be treated as .DOTLAST.
1999-07-12 17:29:32 +00:00
lukem 375a0efb60 * change fetch_ftp() to be fully rfc 1738 compliant; if the URL contains
the an empty directory (e.g, between `some' and `path' in
  `ftp://host/some//path'), then execute `CWD ' (without a path).
  This command will probably fail on rfc 959 compliant servers, so
  issue a warning in this case and bail. [noted by cgd].
  (i wonder if the people who wrote rfc 1738 actually realised that this
  requirement appears to contravene the spec for `cwd' in rfc 959 ?)
* replace isurl() with isipv6addr(), and use appropriately. fixes
  auto-login with `classic ftp URLs' (e.g, `ftp somehost:')
* cleanup and rework some of the ipv6 stuff in parse_url()
* prevent potential coredump in fetch_ftp() when parsing `;type=X'
* KNF a few lines
* fix a couple of comments
* cleanup the man page a bit
1999-07-12 13:20:34 +00:00
mrg 9abab6de8b - build with obj dirs.
- use .PATH not broken links
- share the make fragment to build "ioctl.c"
- general clean up, RCSID, etc.

this is all happy now AFAICT.
1999-07-12 04:13:34 +00:00
darrenr b7eb8dab03 include comments for ktruss 1999-07-12 03:24:58 +00:00
darrenr 43fc13da12 build ktruss 1999-07-12 03:21:50 +00:00
darrenr c0090d81bf import Makefile and dump.c required for building ktruss. 1999-07-12 03:20:17 +00:00
kim bfb603392a Allow people in group wheel to use the ROOTAUTH group.
Pick up SUROOTAUTH (presumably from /etc/mk.conf).
1999-07-11 23:41:10 +00:00
itojun 940276557f add epsv4 command, which enable/disable the use of EPSV/EPRT.
this is mainly for (hypothetical) ftp server which disconnect clients
that use EPSV/EPRT.  I've never seen any ftp server like this, but
epsv4 command may be of use when such an ftp server is found.
1999-07-11 20:37:39 +00:00
thorpej 3e29511219 Simply a construct in usage(). 1999-07-11 19:30:39 +00:00
thorpej 0157452a1b Clean up some warnings in the Kerberos section. 1999-07-11 18:21:18 +00:00
thorpej 5a0addc0ef Add a mechanism for specifying that ${.CURDIR} will be searched last
in the presence of .PATH directives by specifying:

.PATH: .DOTLAST

This will be used to fixup the build system to work with both crypto-us
and crypto-intl sub-trees.

Make(1) changes by Christos Zoulas, after much badgering by me :-)
1999-07-11 02:06:57 +00:00
christos 17e6e111b9 oops, need to declare tos. 1999-07-11 00:41:59 +00:00
christos 5d5741e3ba Kludge around non 4.4BSD systems that don't have a length field in struct
sockaddr*.
1999-07-10 20:46:42 +00:00
christos 7e3d65379b isurl does not return a pointer! 1999-07-10 19:41:15 +00:00