Commit Graph

3754 Commits

Author SHA1 Message Date
christos 2cec9705c5 make ftp work again with the traditional gethostbyname/getservbyname
interfaces.
1999-08-29 22:21:57 +00:00
mycroft 625f1f9bb9 Don't use .Fl for non-flags. 1999-08-29 17:50:09 +00:00
christos 36dc48ce6e Amazing how this worked for so long. setenv(3) expects environ(7) to be
a malloc'ed pointer and it tries to realloc(3) it if it had to grow it
before. su(1) gave it a pointer from the stack which caused realloc to
core dump.
1999-08-29 04:21:55 +00:00
simonb dcb4cadef7 Don't need strftime() on Ultrix either. 1999-08-27 00:47:25 +00:00
marc 6458b2ce43 it doesn't make any sense to use -u with -r or -i, so don't permit it. 1999-08-26 07:33:16 +00:00
hwr a657ac3ef3 Added missing ``"''. From PR 8278 by <seebs@plethora.net>. 1999-08-26 07:18:10 +00:00
christos f5241efcfa make this compile.... 1999-08-25 19:58:15 +00:00
thorpej cff45b3bc0 formatting nits; nothing a quick pass through indent(1) can't fix. 1999-08-25 05:15:39 +00:00
thorpej 8c879edd2b Nuke extra RCS ID, rearrange some includes. 1999-08-25 05:13:06 +00:00
thorpej 6d16244386 Update for new semctl() footprint. 1999-08-25 05:12:15 +00:00
thorpej 345cb51c05 Update for changes to SVID IPC data structures. 1999-08-25 05:11:51 +00:00
mrg ec70388809 add a comment 1999-08-24 09:16:36 +00:00
lukem 6d532c26d3 fetch_url() fixes:
- just display the hostname:port of the proxy url, rather than the full url.
  this prevents someone `shoulder surfing' a proxy username/password
  in $http_proxy. [suggested by perry]
- compact verbose notes for http fetchs; now displays
    (via host:port, with authorization, with proxy authorization)
  with each component being optional.
(and a couple introduced with the ipv6 mods...)
- don't override host with the canonical name; this prevented fetches from
  http/1.1 virtual hosts from working if the virtual host was a CNAME.
  [noted by bernd]
- call freeaddrinfo() if res was built with getaddrinfo()
1999-08-22 12:49:00 +00:00
enami 07f35abba9 Replace TAB in message printed by file command with SPACE. 1999-08-21 16:05:56 +00:00
matt a5b92e89e1 Add knowledge of the VAX ELF magic number 1999-08-21 00:28:09 +00:00
ross cf4d2683a8 Classical Unix guaranteed that nice +19 would not compete with base priority
process execution. As this is true once again: say so.
1999-08-20 20:03:21 +00:00
ross be6dde2c3c Note that nice +20 only guarantees exclusion w.r.t. the base priority,
and not w.r.t. intermediate nice-levels. Correct english and formatting.
1999-08-20 18:09:48 +00:00
cgd f33ac29caa not all kvm_getfiles() errors are "out of memory." for instance,
some of them are caused by the kvm_getfiles() implementation being
TOTALLY BROKEN for dead kernels.  Print out the KVM descriptor's
error so that error causes are more easily diagnosed.
1999-08-19 06:13:09 +00:00
mycroft b6fad0e324 Make the group list format consistent between `id' and `id userid'. Also make
it look like what Solaris and Linux use (comma but no space between items).
1999-08-17 17:37:32 +00:00
enami d8ad2663a8 In name section, use .Dq macro rather than writing double quote directly. 1999-08-17 03:36:35 +00:00
simonb 299578ebd5 Spell "privilege" correctly (correct spelling from Jonathan Stone). 1999-08-16 02:59:22 +00:00
enami f6e5e6544e Always unlink the temporary file created by mkstemp(3). 1999-08-16 02:49:20 +00:00
sjg 84a0eb9650 Add support for multiple locate databases via $LOCATE_PATH and/or
command line switch.
Also exit(0) only if a match is found.
1999-08-16 01:41:16 +00:00
proff 209c8a802a ctrl-g is beep(), not "^G", damnit. strictly for the attention deprived. 1999-08-13 13:52:59 +00:00
tron c8b0d04949 Fix wrong array size calculation in call to memset() and avoid a possible
segmentation fault in memmove(). Patches supplied by Stephan Thesing in
PR bin/8184.
1999-08-10 20:09:02 +00:00
aidan 58f27ba58c Added .PARSEDIR and .PARSEFILE variables to make(1). 1999-08-09 21:06:28 +00:00
thorpej 2d720e5ff0 Don't truncate syscall return values on LP64 platforms. 1999-08-06 00:11:02 +00:00
ross 7886a593e3 Back out part of previous, only the parse.c mod was intended. 1999-08-04 16:44:07 +00:00
ross 0728723c31 Trivial speed hack. 1999-08-04 02:54:56 +00:00
jdolecek 88a653ac21 add support for ntfs 1999-08-02 17:39:13 +00:00
ad aa707bd962 Add 'inet.' prefix to 'tcp', 'ip', 'tcpsyn' and 'icmp' displays.
Fixes PR: bin/8130 (Geoff C. Wing)
1999-08-02 17:27:27 +00:00
hubertf 5674691260 Save the walls, use fly swatters instead of machine guns!
(s/sscanf/strtol/, per Christos)
1999-08-02 17:23:58 +00:00
hubertf a38c426e1c Detect invalid arguments to -j and -L by using sscanf() instead of atoi().
Fixes PR 6743 by Assar Westerlund <assar@sics.se>
1999-08-02 15:23:11 +00:00
sommerfeld cb8819d25b Serious fix for the silly and flippant PR7875 which preserves the
original silly spirit of the man page.
1999-08-02 12:41:20 +00:00
sommerfeld 728f40d730 Fix from PR7655: translation of keyboard command in systat is Wrong.
(breaks netstat's :ignore command for upper-case service names)
1999-08-02 02:01:57 +00:00
kleink 1cc052ce00 Rearrange the shared library search path precedences to LD_LIBRARY_PATH >
runpath > built-in default; this is the behaviour of the SVR4 shared loader,
and gives users the opportunity to override the runpath.  (Addresses a report
on current-users by John Kohl.)
1999-08-01 19:47:07 +00:00
lukem 8e17c17112 fix problem with www authentication: len passed to snprintf() for
auth_url() strings was 1 too small. noted by veego@
1999-08-01 12:22:23 +00:00
sommerfeld 0c41be440f Add `-U' flag (for "unprivileged"). Currently just skips the
chown/chgrp stages which would otherwise blow out if not running as
root.  A future version may log the owner/group to allow correction by
a later privileged cleanup pass.

Just warn about madvise failure; it's not something to blow up about.

Document new option, and clean up option grouping for -d (install
directory) option.
1999-08-01 05:02:06 +00:00
christos 022cc95f70 Document kernel behaviour: flags on block and character devices cannot
be changed except by the superuser. [Commit by cjs.]
1999-07-31 03:24:46 +00:00
ad 5cd8715136 Formatting nits. 1999-07-30 16:08:59 +00:00
darrenr c1f203f8b5 Change behaviour from running the command as the parent and ktrace/ktruss as
the child to be ktruss/ktrace is the parent.  This fixes a problem with ktruss
where the prompt would be returned in the middle of output.
1999-07-30 14:03:55 +00:00
hubertf 693fcfea31 s/uname -p/uname -m/ of course. Noted by Simon Burge. 1999-07-30 11:44:57 +00:00
itojun 5413fa8362 do not include netinet/in6_systm.h, which has been empty for a while. 1999-07-30 10:31:22 +00:00
mycroft a18e0fb5ab Use exec. 1999-07-30 02:42:32 +00:00
hubertf 7efd5195db Shell script implementation of "machine" by me.
I hereby place this into the public domain, the script contains
no copyright header to make it small. Replacing the binary
implementation saves 8k on /usr.

See also PRs 6614 and 361.
1999-07-30 02:07:15 +00:00
mycroft ee0dfce003 Make this compile again in an ELF world. 1999-07-30 01:56:49 +00:00
hubertf 4b53c6d85d If printing of a host's time is requested via the -d switch, condense
output so it doesn't exceed 80 columns.

Patch submitted in PR 5933 by Tim Rightnour <root@garbled.net>
1999-07-30 01:29:30 +00:00
hubertf d5df2197fb sprite.h is private to make, so #include it with "sprite.h",
not <sprite.h>.

Problem reported in PR 4381 bye Soren S. Jorvang <soren@t.dk>
1999-07-29 19:45:32 +00:00
enami 095b98a6ab call clearerr for the right file pointer. 1999-07-29 01:53:26 +00:00
darrenr 57c66d8b8b fix an error where we attempt to bcopy to a long's value rather than address 1999-07-28 15:38:46 +00:00