Commit Graph

853 Commits

Author SHA1 Message Date
cracauer
52da0fced7 Fix environment passung to eval'ed commands.
PR:		bin/6577
Submitted by:	Anatoly Vorobey <mellon@pobox.com>
Approved by:	silence amoung other sh experts
2000-05-15 12:33:17 +00:00
sheldonh
ea43758f6a Supply only one author name per instance of %A, as per mdoc.samples(7).
PR:		18465
Submitted by:	Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
2000-05-10 09:49:04 +00:00
sheldonh
5e0dc361bb Fix miscellaneous mdoc macro argument limit infringements.
PR:		18465
Reported by:	Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
2000-05-09 14:02:06 +00:00
kris
4b5eb94748 Remove test for block device. 2000-05-07 08:56:21 +00:00
jkoshy
5cfaeab905 Install a manual page for `tcsh(1)', for completeness.
Approved by:	obrien
2000-05-05 08:12:11 +00:00
asmodai
888d579612 Remove unused #include. 2000-05-01 18:34:36 +00:00
joe
095681660c Fixes a potential buffer overflow with 'ed [MAXPATHLEN + 1 characters]'.
Submitted by:	Mike Heffner <spock@techfour.net>
Submitted on:	audit@freebsd.org
2000-04-30 20:46:14 +00:00
ache
b6ec16ff93 Fix warn format
Pointed-by: bde
2000-04-30 17:12:49 +00:00
ache
24d1eb8e5f Back out all drainwait changes. It is enough controllable via sysctl or
comcontrol, having it in stty cause too many problems with existing drivers
and tty access permissings of non-superuser.

Asked-by: bde
2000-04-30 17:04:26 +00:00
ache
408144e1b5 gfmt: set drainwait only if changed
It allows to restore tty state without a warning for non-superuser
2000-04-30 16:22:09 +00:00
ache
e7b1166a35 Describe drainwait 2000-04-27 22:08:29 +00:00
ache
56d7e97f31 part of gfmt really changed commit 2000-04-27 21:48:48 +00:00
ache
f61af6309a gfmt: set 'changed' flags only if something really changed. 2000-04-27 21:45:41 +00:00
ache
1c00526cf7 Add ability to manipulate with drain wait time 2000-04-27 21:31:23 +00:00
ache
524b4d932b Activate ja nls if WANT_KANJI
Fix 'make release'
Suppress 'make distribute'
2000-04-24 08:14:16 +00:00
obrien
693ac85cf0 Pass "WANT_KANJI" from make.conf to the compiler. 2000-04-23 18:08:49 +00:00
obrien
86198ed6c9 MBYTEDEBUG not needed for "WANT_KANJI"
Submitted by:	Hajimu UMEMOTO <ume@mahoroba.org>
2000-04-23 18:08:10 +00:00
obrien
fe67f768fb Until it's impact is better understood, only active KANJI/DSPMBYTE/MBYTEDEBUG
if "WANT_KANJI" is defined in /etc/make.conf.

Submitted by:	Hajimu UMEMOTO <ume@mahoroba.org>
2000-04-21 18:45:06 +00:00
ache
088861cd52 Fix 'make distribute' 2000-04-21 12:34:41 +00:00
ache
af8fee5cf1 Disable ja NLS until clarifying what needed else to support it 2000-04-21 10:14:09 +00:00
cracauer
bb4531b545 Rename the trace() function (that is build only in the -DDEBUG=2
case), so that it doesn't clash with the ncurses function of the same
name when linking statically with -ltermcap.

The linker only complains when -static is used, and it is not clear
whether this is a bug.

PR:		bin/18104
Submitted by:	Anatoly Vorobey <mellon@pobox.com>
2000-04-20 11:39:11 +00:00
cracauer
8ea163616a Include <errno.h> when compiling with -DDEBUG=2
PR:		bin/18104
Submitted by:	mellon@pobox.com
2000-04-20 09:55:57 +00:00
cracauer
931eca6c86 Fix warnings, some of them serious because sh violated name
spaces reserved by the header files it includes.

mkinit.c still produces C code with redundant declarations, although
they are more harmless since they automatically derived from the right
places.
2000-04-20 09:49:16 +00:00
ache
7d473202b3 Activate NLS.
Optimize NLS by not wasting space copying the same .cat but use symbolic links
instead.
2000-04-20 08:58:11 +00:00
ache
f99ac9fa4b Activate finnish set 2000-04-20 07:08:43 +00:00
obrien
44019dcdc4 Add NLS files. Finish and Greek are WIPs.
Submitted by:	ache
2000-04-20 06:50:23 +00:00
obrien
8068c128fb Use our system malloc(). 2000-04-19 15:15:44 +00:00
obrien
fb1f33928b Install /bin/tcsh also. 2000-04-19 15:15:19 +00:00
obrien
c17873d359 Upgrade csh. 2000-04-18 07:31:36 +00:00
obrien
1adf7545b6 Add a NO_TCSH knob. 2000-04-17 20:32:13 +00:00
asmodai
4f65b6759d Sync us up to OpenBSD's cat.1 v1.18 and cat.c v1.9.
This gets rid of a bogus cast of NULL in setbuf().
Lets us know the buffer malloc failed.

Reworks the manpage a bit to make it more mdoc(7) compliant, adds
examples.
2000-04-14 21:01:35 +00:00
imp
751eca007c Use #include <errno.h> rather than extern int errno;. 2000-04-14 06:03:39 +00:00
asmodai
1ce15de0f3 Remove unnecessary empty line.
Remove trailing whitespace.
2000-04-13 19:31:46 +00:00
brian
0883c48a66 Change -v so that variences in units of days or less are sensitive to
DST.  Explain in more detail what date -v does when mixed with DST.

Previous code suggested broken by: wollman
2000-04-12 13:35:17 +00:00
brian
2c7efd406c Always give mktime a timeval with tm_isdst set to -1, otherwise
things get a bit out-of-phase when we step backwards 1 hour from
between 0:00 and 1:00 on the first of the month following the
transition into Summer time.  This is probably actually a bug
in mktime().

PR:	10963

If mktime() fails and 68 < year < 138, assume that the reason is
because of Summer time and adjust up or down according to our
adjusting context by one hour.  This assumes that all DSTs are
multiples of 1 hour.

PR:	6223, 17750
2000-04-05 01:59:36 +00:00
bde
76860644ae Fixed prototype for setflags(). setflags() returns int, not u_long,
and "extern" in function prototypes is a style bug.  The type mismatch
broke chflags(1) on i386's with 64-bit longs and may have broken it on
alphas.
2000-04-04 14:12:35 +00:00
jdp
375ea71f6b Document that the flags can be specified as an octal number. 2000-04-03 22:10:58 +00:00
bde
3cc73bd7ca Fixed LDADD. Using ${LIBM} instead of -lm gave the wrong libm in most
cases and broke the world in some cases.

Fixed some style bugs (the usual ones for DPADD and LDADD, misplacement
of DPADD and LDADD, and misplacement of $FreeBSD$).
2000-03-27 14:53:26 +00:00
sheldonh
2c584f634f Correct confusing description of the -r option.
PR:		17250
Submitted by:	cjclark@home.com (Crist J. Clark)
2000-03-07 20:54:17 +00:00
sheldonh
e3ca50a712 Revert the previous commit. I knew I should leave non-mdoc stuff alone. 2000-03-03 09:53:52 +00:00
sheldonh
c0e8952a50 Remove more single-space hard sentence breaks. 2000-03-02 14:54:02 +00:00
sheldonh
247d8e4828 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 11:34:08 +00:00
sheldonh
8b9d0d56e2 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 10:43:09 +00:00
green
46bb443af0 After Bruce kindly explained the whole groff "sentence" idea to me, I've
put the whitespace in the right place.
2000-03-01 05:28:45 +00:00
markm
c92558714d Change DISTRIBUTION name to match reality. 2000-02-29 11:39:24 +00:00
green
644fd26c68 Fix style bugs I introduced in the last revision.
Brucified by:	bde
2000-02-27 16:40:39 +00:00
green
3921e6ea29 Add iseek= and oseek= aliases for the preexisting skip= and seek=
operands.  Can _YOU_ tell skip= and seek= apart with 100% accuracy
every time?

This also seems to make us option-for-option compatible with the
Solaris dd(1).

Approved by:	jkh
Suggested by:	peter
2000-02-26 21:29:44 +00:00
markm
85a606a0dc Use libcrypto inst=ead if libdes. 2000-02-24 21:21:15 +00:00
alfred
0b348be5fc Re-add "May" to the list of dates supported.
Approved by: jkh
2000-02-18 23:41:45 +00:00
gsutter
575e32d8e0 Reflect that dd accepts octal and hexadecimal numbers (in addition to decimal).
PR:		16750
Submitted by:	Giorgos Keramidas <keramida@ceid.upatras.gr>
2000-02-18 04:55:40 +00:00