Commit Graph

1540 Commits

Author SHA1 Message Date
joerg
ebeb73c870 Fix a security problem where the ktrace.out file could have been written
over a file owned by someone else.

Pointed out by:	wosch
Reviewed by:	sef, imp, proff@suburbia.net, bde
1997-03-15 10:39:12 +00:00
ache
6dd88e53a7 Update Korean locale
Should go into 2.2
1997-03-13 07:51:43 +00:00
mpp
31b1f2fc62 Add a missing '\' to some text.
Obtained from: NetBSD-bugs mailing list PR# 3321
1997-03-12 16:05:41 +00:00
jmg
57423bcf8b fix a bug in processing of FTP_TIMEOUT environment variable.
Closes PR#2947

Submitted-by: Peter Childs <pjchilds@imforei.apana.org.au>
1997-03-11 15:13:28 +00:00
peter
62ea55618b Cope with the possibility of __FreeBSD__ = 3 1997-03-11 14:49:51 +00:00
peter
576f3ebb4b Merge from Lite2 1997-03-11 14:48:14 +00:00
peter
b5e9e569ca Include unistd.h for new location of getopt() prototypes 1997-03-11 14:44:05 +00:00
peter
b74d02b92e Include unistd.h for new location of getopt prototype 1997-03-11 14:41:52 +00:00
peter
9d05de8ed7 Include unistd.h for getopt() prototype after Lite2 merge 1997-03-11 14:40:40 +00:00
ache
05248ffb84 Fix srandom arg type according to Lite2 1997-03-11 14:06:52 +00:00
peter
72b6a99cd2 Merge from Lite2 - use new getvfsbyname() and related changes.
understand whiteouts (FTS_W from fts()).
1997-03-11 13:48:37 +00:00
peter
9e11e52691 Merge from Lite2 (note: needs checking by somebody who understands join) 1997-03-11 13:45:59 +00:00
peter
cf1e7e3f26 Merge from Lite2 1997-03-11 13:43:33 +00:00
peter
8d2bf2fada This commit was generated by cvs2svn to compensate for changes in r23690,
which included commits to RCS files with non-trunk default branches.
1997-03-11 13:08:12 +00:00
peter
91c996fd18 Import some parts of CSRG 4.4BSD-Lite2 usr.bin sources to fix tree build. 1997-03-11 13:08:12 +00:00
ache
a26433653d Add <ss> and ss ordering 1997-03-10 21:59:53 +00:00
joerg
e04a1d3dae Fix a gross bug in the ! operator optimization code. The following
kind of expressions caused a dereferencation of an uninitialized malloc
area, yielding wrong expression evaluation at best, and core dumps at
worst (malloc.conf -> AJ):

	find ... ! \( expr1 ! expr2 \) ...
1997-03-10 19:20:39 +00:00
ache
e42279e3a4 Add ^ getpid() for better srandom results 1997-03-10 07:46:03 +00:00
wosch
ffbea2b4fb Add reference to `PMake - A Tutorial' 1997-03-09 15:51:07 +00:00
bde
b7c11be405 Don't use a dot in a chown command. In fact, don't use any commands
except `install' at install time.  Don't build things at install time.
Don't hide the build steps using @.  Install with mode ${NOBINMODE}
instead of 444.

Poor source layout made this harder than it should have been.  E.g.,
a suffix rule can't be used because of the subdirectories, and a
new makefile per subdirectory (i.e.m per data file) would be excessive.
See /usr/src/usr.bin/mklocale for a better organisation.
1997-03-09 06:08:22 +00:00
ache
59b85e2e85 Add ^ getpid() to make more random results for subsequent calling.
Add proper type casting to random calls

Should go into 2.2
1997-03-08 11:40:15 +00:00
yokota
d32eb3ca60 Made sure the string formated by strftime() is properly
null-terminated.

Fixed a wrong if statement which should test a string is
empty where in fact it tested the string pointer was NULL.

Should go to RELENG_2_1 and RELENG_2_2.

Reviewed by guido@freebsd.org.
1997-03-07 11:04:01 +00:00
yokota
9aad15b168 Made sure the string formated by strftime() is properly
null-terminated.

Should go to RELENG_2_1 and RELENG_2_2.

Reviewed by guido@freebsd.org.
1997-03-07 10:54:19 +00:00
jmg
5ef14f66ec fix restarting http transfers and understanding response from server.
Slight modification of patch by wollman.

Closes PR#2870

Reviewed by:	wollman
Submitted by:	Marc Slemko <marcs@znep.com>
1997-03-06 20:01:32 +00:00
jmg
d6216751dd fix a couple problems with fetch:
. don't try to interpet a colon in the pathname as a port number
	. don't report an errno message when one don't exist
1997-03-06 10:01:54 +00:00
jmg
8fe249dc4f fix a couple misspellings, one of 'em closes pr 2892. 1997-03-06 05:11:55 +00:00
fenner
1910eaf544 Fix FTP_PROXY to use user@host[@port] for FTP proxy and eliminate
undocumented FTP_PROXY_USER
Make FTP file errors contian hostname and path.
Pass the FTP port to libftp.
Partially un-HTMLify error messages returned from server
Handle "HTTP NNN" instead of "HTTP/V.vv NNN" response sent by
	pre-HTTP/1.0 servers

Reviewed by:		wollman
1997-03-05 18:57:16 +00:00
bde
a737216818 Added missing #include, cleaned up #includes.
Print VFCF_UNICODE flag in the unlikely event that it is set.
1997-03-03 17:21:57 +00:00
ache
26e48e5f06 Back out MAXLOGNAME fix, Bruce points that copyinstr require NUL 1997-03-03 07:59:54 +00:00
wosch
f41ab05b5a Add enviroment variable MAKEOBJDIRPREFIX, still undocumented except
in bsd.obj.mk.
1997-03-03 00:57:48 +00:00
ache
e0ea988dd7 Fix MAXLOGNAME usage, the code has wrong assumption that it must be
NULL terminated
1997-03-02 21:40:17 +00:00
joerg
a4daaaacd7 Make more not immediately exit on a short file, if the -e option is
given.  This makes more -e basically usable at all when your termcap
entry supports an alternate screen buffer (like xterm-r6).

I wonder whether we should make more -e the default.  Oure more seems
to be the only one on the world with this funny behaviour.

2.2 candidate

Submitted by:	dawes@rf900.physics.usyd.edu.au (David Dawes)
1997-03-02 18:55:42 +00:00
wosch
3ef0b960a7 Include copyright message from <sys/copyright.h> 1997-03-01 18:02:44 +00:00
wosch
53a120e5c4 Add generic colldef for ISO-8859-2.
Submitted by: Slaven Reziæ (Tomiæ) <eserte@cs.tu-berlin.de>

Use '.for' loop from make(1), not sh(1) 'for' loops.
1997-03-01 00:28:08 +00:00
adam
c30602f3ce minor nit 1997-02-28 22:44:31 +00:00
wosch
e519c35e70 Add lt_LN.ISO_8859-2.src.
Use '.for' loop from make(1), not sh(1) 'for' loops.

Submitted by: Slaven Reziæ (Tomiæ) <eserte@cs.tu-berlin.de>
1997-02-28 19:51:39 +00:00
ache
ab0a211bb6 Back out "shell" / pw_shell change, I was confused by the same
variable name (with different functionality)
1997-02-27 05:09:58 +00:00
ache
acef0e5760 Fix few bogons with pw_shell / shell variables values mismatch
introduced by LOGIN_CAP
1997-02-27 03:52:22 +00:00
mpp
f0837da8d0 If an administrator somehow manages to break the hardlinks
on chpass & passwd and turn the links into individual files
with the schg flag set, make install will fail to install all
of the proper links.

Fixed by removing the schg flag on all of the links before installing.

Closes PR# 2040.

Submitted by:	 Ph. Charnier <charnier@xp11.frmug.org>
1997-02-26 05:31:52 +00:00
mpp
85eab8d10d Added calendar entries from OpenBSD and NetBSD that we were missing. 1997-02-25 01:20:28 +00:00
mpp
94957ee0fa Add the date of Carl Sagan's death, since we list his birthday.
Obtained from:  NetBSD PR# 3235
1997-02-25 00:45:24 +00:00
ache
334dc11236 Holiday renamed
Should go into 2.2
1997-02-24 22:52:52 +00:00
wollman
8ce8079e0d Use new sysctl(3) interface to mbuf statistics. While we're at it,
count free mbufs correctly.
1997-02-24 20:59:03 +00:00
wollman
6144010050 Use the new sysctl(3) interface to mbuf statistics rather than
groveling about in kmem.
1997-02-24 20:40:40 +00:00
guido
629f620d95 When group wheel is empty, allow everyone to su to root. This has normally
no conseqeunces as we ship with a non-empty wheel.

Closes PR/1882
Submitted by:	Arne Henrik Juul <arnej@frida.imf.unit.no>
1997-02-24 20:32:24 +00:00
wosch
b2a6a2a9b9 These man page will appear in 2.2, not 3.0. 1997-02-22 23:43:32 +00:00
ache
bd4c2bd7da Add Korean CTYPE locale
Submitted by: Choi Jun Ho <junker@jazz.snu.ac.kr>
1997-02-22 22:50:57 +00:00
peter
aef78d145b Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
peter
1616dd447f Revert $FreeBSD$ to $Id$ 1997-02-22 19:29:21 +00:00
peter
448e6574fe Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00