1444 Commits

Author SHA1 Message Date
pst
e6146b2184 Cruft cleanup to eliminate useless warnings 1997-02-02 21:33:37 +00:00
wosch
55fe02abd1 ${DESTDIR}/usr/bin -> ${DESTDIR}${BINDIR} 1997-02-02 14:41:43 +00:00
bde
ee7d1d310f Null-terminate the string in percent_decode() so that we don't depend on
malloc() returning zeroed storage or dump core while starting up.

Found-by:	/etc/malloc.conf ->AJ
1997-02-02 09:16:37 +00:00
mpp
0e1fbde21d Fix calendar so that it doesn't report strange results on
Jan 1st (and probably other dates as well) for some variable
events.  E.g.

01/SunThird	whatever...

Was being printed as:

Jan  0	Whatever

when calendar was run on January 1st.

Closes PR#2461.
1997-02-02 07:37:46 +00:00
wollman
827e39354a Some fixes for HTTP:
1) Implement redirects (or try to, at least).
2) Implement automatic retry after 503 errors when Retry-After is given.
3) Implement a -a flag to enable both of these behaviors.
4) Recognize Transfer-Encoding headers and emit a warning that the file
  is likely to be damaged.
5) Bug fix: only write the amount of data we read.
6) Actually document some of these.
7) Fix the usage message to display flags in semi-alphabetical order.
1997-01-31 19:55:51 +00:00
mpp
d292298ce7 Correct the year that Sydney Australia was settled.
Submitted by:	 <stephen.ma@jtec.com.au>
Obtained from:  NetBSD-bugs PR#3115
1997-01-31 02:22:29 +00:00
wollman
444cbb04ee Here is my long-threatened revamping of fetch. Jean-Marc probably won't
recognize it any more.  This makes the following significant changes:

- The main body of the program doesn't know a thing about URIs,
  HTTP, or FTP.  This makes it possible to easily plug in other
  protocols.  (The next revision will probably be able to dynamically
  add new recognizers.)

- There are no longer arbitrary timeouts for the protocols.  If you want
  to set one for yourself, use the environment variables.

- FTP proxies are now supported (if I implemented it right).

- The HTTP implementation is much more complete, and can now do restarts,
  preserve modtimes, and mrun in mirror mode.  It's not yet up to 1.1,
  but it's getting there.

- Transaction TCP is now used for sending HTTP requests.  The HTTP/1.1 syntax
  for requesting that the connection be closed after one request is
  implemented.

In all of this, I have doubtless broken somebody.  Please test it and tell me
about the bugs.
1997-01-30 21:43:44 +00:00
wosch
a6574d9b83 The option "fstype" does not handle the argument "msdos" correctly.
This error results from changing the name for the msdos file system
from "pcfs" to "msdos". Close PR #1105

submitted by: Thomas Wintergerst <thomas@lemur.nord.de>,
              Slaven Rezic <eserte@cs.tu-berlin.de>
1997-01-28 13:18:46 +00:00
wosch
f9f02322a9 Store temp files in current directory instead /tmp. The current
directory is usually not world writable, this avoid security
problems due the evil Berkeleian symlinks.
1997-01-27 00:10:53 +00:00
jkh
65e0bbf66b Don't dereference NULL pwd on non-existant username (I wonder how long
THAT has been in here!).
1997-01-22 18:36:27 +00:00
davidn
a4e4337b4d Fix handling of empty shell field in passwd file (use /bin/sh); problem
was caused by introduction of login classes. Closes PR bin/2550.
Added references to login.conf to manpage, crossreference to login.conf(5).
1997-01-22 02:45:16 +00:00
wollman
fe537196d3 Print out the new uninteresting-multicast-packets statistic. 1997-01-21 21:08:57 +00:00
davidn
07860c5307 Activate limits(1). 1997-01-21 15:09:03 +00:00
davidn
69dbd15d2e This commit was generated by cvs2svn to compensate for changes in r21923,
which included commits to RCS files with non-trunk default branches.
1997-01-21 15:05:15 +00:00
davidn
2fcbfa8ff9 limits(1): set and display process resources. 1997-01-21 15:05:15 +00:00
jfieber
53fb34f6b9 Make -hdr and -ftr options (to include arbitrary HTML at the
top and bottom of output) work with docbook.
1997-01-19 21:21:18 +00:00
jfieber
358560822a Do the Right Thing(TM) with source files that have extensions
other than .sgml.
1997-01-18 01:48:04 +00:00
jfieber
912bcfa966 Add rudimentary docbook support:
sgmlfmt -d docbook -f html myfile.docb

Depreciate undocumented -white option (now default).
1997-01-17 23:38:40 +00:00
joerg
d4da872ef2 Update for the French message catalog.
Submitted by:	charnier@xp11.frmug.org (Philippe Charnier)
1997-01-17 23:01:18 +00:00
jfieber
e81eaa9947 Close PR #2453 (illegal tags in HTML <TITLE> element)
2.2 fodder
1997-01-17 21:44:45 +00:00
joerg
a998b593c4 Fix a genuine off-by-one error that caused join to dump core when
trying to use field numbers tha weren't present in the input data.
1997-01-17 18:55:05 +00:00
jkh
b917141478 Handle timeouts in a slightly less baroque way. 1997-01-17 12:52:12 +00:00
alex
a3118e8c68 Sweep through the tree fixing mmap() usage:
- Use MAP_FAILED instead of the constant -1 to indicate
    failure (required by POSIX).
  - Removed flag arguments of '0' (required by POSIX).
  - Fixed code which expected an error return of 0.
  - Fixed code which thought any address with the high bit set
    was an error.
  - Check for failure where no checks were present.

Discussed with:	bde
1997-01-16 21:58:40 +00:00
wosch
4bcfb053ec Sort cross references. 1997-01-15 23:25:55 +00:00
mpp
731f1f957c Document the "more" command.
Submitted by:	Julian Coleman <j.d.coleman@ncl.ac.uk>
Obtained from:  NetBSD-bugs PR# 3104
1997-01-15 04:44:08 +00:00
davidn
bf89ef0f2c Fix problem with mask passwd to setusercontext() which
prevented uid/group change with non-root target.
1997-01-14 09:24:09 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
wollman
ae33ce68ad Print out the interface's multicast addresses using the new
structures.
1997-01-13 21:27:46 +00:00
davidn
3f24215f47 Document effect of login class capabilities. 1997-01-13 06:52:24 +00:00
davidn
2f2f2bb699 Make su login_cap savvy.
As with login(1), LOGIN_CAP_AUTH is not yet enabled since we don't
yet have authorisation modules.
1997-01-13 06:39:19 +00:00
peter
a4e98297b6 Report the reason why select unexpectedly failed.. 1997-01-13 02:34:56 +00:00
steve
62621e3ce1 Add RCS id's since these files have left the default branch. 1997-01-12 21:29:55 +00:00
steve
9ea5e02672 This doesn't change any functionality, it simple makes yacc(1)
compile -Wall clean.
1997-01-12 21:16:25 +00:00
joerg
1b4e8ea8fd Fix the following old problem:
date: 1994/10/09 07:37:18;  author: davidg;  state: Exp;  lines: +7 -1
  #if 0'd out the meat of the swap code until I get a chance to rewrite it.

...mainly by stealing the code from pstat(8).
1997-01-12 19:38:32 +00:00
mpp
2494654b02 Fix calendar so that you can run it like:
calendar -t 0101 -f file

Previously calendar's time processing routine directly
modified the "0101" argument" which confused getopt.
The time routines now make a copy of the argument
to mess with.
1997-01-12 18:35:14 +00:00
ache
131b2f4db4 include ctype.h to pick isprint macro 1997-01-12 13:34:13 +00:00
steve
f68e14d696 Revert the '-o output_file_name' option changes. 1997-01-12 04:04:52 +00:00
jdp
cda6305fe1 Set LD_TRACE_LOADED_OBJECTS to "1" instead of to "". The dynamic linker
now treats empty "LD_*" environment variables as if they were unset, per
the standard SVR4 conventions.
1997-01-12 00:10:57 +00:00
mpp
e435ef965b Add a couple of xrefs. Closes PR# 1280. 1997-01-11 19:58:11 +00:00
mpp
e1b776e99f Add a couple of xrefs. 1997-01-11 19:57:47 +00:00
davidn
95ffdc288e Makes login login_cap-savvy.
Note that LOGIN_CAP_AUTH code (login authentication) is not (yet) enabled
and requires /usr/libexec/login_<style> authentication program support to
be added at a later date. The Makefile contains a macro LC_AUTH to turn
it on and prevent unnecessarily linking against skey/krb libs and the
addition of klogin.c module.

All other aspects of login_cap support are fully functional.
1997-01-11 07:16:35 +00:00
bde
01c2d5fc0e Removed stray DPADD. 1997-01-10 05:08:25 +00:00
jdp
511c6ad118 For "ldd -v", print shared object dependencies that were specified as
pathnames (rather than as "-lfoo") correctly.
Closes PR bin/2404.
1997-01-10 02:51:00 +00:00
ache
54bc288fc1 Make 'skey' command visible through 'help' 1997-01-10 00:29:00 +00:00
ache
5fb5a32d2d Use -DSKEY instead of wrong -DPATH_SKEY 1997-01-10 00:27:50 +00:00
jdp
4d96d1de07 On failure, return various exit codes from <sysexits.h>. In particular,
return EX_TEMPFAIL if the file was already locked.  This makes it easier
to distinguish between lock collisions and failures within the command
being executed.

Also, don't complain if the unlink() fails in the cleanup handler.  It
doesn't matter anyway, and it obscured the exit status returned from
the command that was executed.
1997-01-09 19:53:21 +00:00
mpp
47927ebd5c Make the man page agree with the actual vmstat output
and options.
1997-01-09 06:49:33 +00:00
jdp
a3091cdc30 Enable lockf. 1997-01-08 20:19:22 +00:00
jdp
2b83be266b This commit was generated by cvs2svn to compensate for changes in r21439,
which included commits to RCS files with non-trunk default branches.
1997-01-08 20:12:59 +00:00
jdp
e83b4a256a Initial import of the lockf utility. It executes an arbitrary command
while holding an exclusive lock on a file.
1997-01-08 20:12:59 +00:00