Commit Graph

118 Commits

Author SHA1 Message Date
christos
51b56986d6 eliminate nested extern decls. 2001-01-06 23:56:26 +00:00
simonb
39096410f1 Need alvec global variable now. 2000-12-14 00:13:07 +00:00
scw
a1dfcb96e7 Sprinkle some `extern' qualifiers for initialised globals. 2000-12-13 22:29:41 +00:00
lukem
091dffc1a7 fix borken Xr 2000-11-07 01:45:04 +00:00
christos
12bd7d8870 Correct stupid cast problem. Pointed out by simon burge. 2000-11-03 02:27:35 +00:00
christos
e5dfea2ff4 Avoid turning into a random file writing tool when using here-doc's.
Reported to BUGTRAQ by proton <proton@ENERGYMECH.NET>.
2000-10-31 16:53:10 +00:00
is
dde594130e Format string auditing by Bill Sommerfeld. 2000-10-08 09:33:31 +00:00
ad
5b09090e8e insure -> ensure 2000-10-05 12:35:33 +00:00
christos
3d0237efed fix globbing problem when importing $PATH from environment. Reported by
Michael Shalayeff.
2000-09-04 17:48:14 +00:00
christos
0bf6fd0c59 decouple us from stdio's BUFSIZ and boost BUFSIZE to 4K 2000-05-31 22:48:44 +00:00
mason
fccb8467cd Improved style: "For definiteness" becomes "For example". 2000-05-21 00:48:45 +00:00
tron
64aaf6d18b Avoid segmenation fault if an external command is invoked in parse only
mode. Problem noted by Josh Lynch PR bin/8732.
1999-11-02 19:35:44 +00:00
bouyer
d406538de6 xref sysctl(8) (for proc.<pid>.rlimits) 1999-09-28 14:54:41 +00:00
hubertf
c684000231 Document csh's -m switch.
Patch submitted in PR 5802 by Greg A. Woods <woods@planix.com>
1999-07-30 01:08:12 +00:00
kleink
cb603a5d83 Remove a bogus whitespace match in the builtin kill(1)'s `-s' parsing;
noticed by Chris Demetriou.
1999-05-19 14:37:05 +00:00
cgd
75f8cf07ab fix incorrect operation caused by the previous checkin. 1999-05-09 00:00:20 +00:00
christos
0abc804e19 Fix unaligned access memory problem introduced from the -s fix. 1999-05-08 23:12:29 +00:00
mycroft
3685172739 More punctuation glitches. 1999-04-20 05:49:50 +00:00
mycroft
89f51b033e Fix formatting of kill commands. 1999-04-20 05:44:42 +00:00
mycroft
62af15cbc6 Fix a few obvious formatting glitches: missing paragraph break, highlighted
parens.
1999-04-20 05:31:55 +00:00
itohy
f1a39637c9 cleanup 1999-03-23 09:29:51 +00:00
garbled
f124765044 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:25:43 +00:00
christos
3762d826ae include <limits.h> instead of <machine/limits.h> 1999-03-19 12:58:55 +00:00
christos
fc32dd30b5 add braces for gcc-2.8.1 1999-03-19 12:58:33 +00:00
christos
04f335f21e - don't use union wait
- printf portability
- add braces for gcc-2.8.1
1999-03-19 12:58:00 +00:00
christos
1a5157a6e0 printf format portability. 1999-03-19 12:57:10 +00:00
christos
1452d0f916 braces for gcc-2.8.1 1999-03-19 12:56:16 +00:00
mrg
69b1acad99 minor KNF nits, space damage. 1999-01-31 08:00:50 +00:00
ross
97f8529d3c Document the bizarre right-to-left grouping of csh expression terms. 1999-01-24 09:44:23 +00:00
itohy
e50ba7ea8f Fixed ancient bug in csh(1) "filec" implementation.
We need not wait for a while any longer after pressing ESC or ^D.

Problem description:
If a user types characters during performing completion (ESC)
or listings (^D), the chars are inserted at weird position of
the command line.
This makes the command line unusable and irritates the user.
I noticed this on 386BSD(98), probably six years ago.

This change fixes the bug by implementing salvage of the characters.
The salvaged chars are added at the end of the command line.
An extra ioctl(FIONREAD) is required to work-around a glitch on
kernel tty driver.
1998-12-26 02:11:39 +00:00
kleink
0210c46b17 Built-in kill: also accept symbolic signal names prefixed with "SIG". 1998-12-11 14:28:58 +00:00
thorpej
341bd18b4a Add some braces to make egcs happy. 1998-08-19 01:31:46 +00:00
mycroft
ee9e50eacb Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
mycroft
9dc385beb1 Delint. 1998-07-28 05:31:22 +00:00
mycroft
5924694d3a Delint (partially). 1998-07-28 02:47:19 +00:00
mycroft
cdbd74da57 Delint (partially). 1998-07-28 02:23:37 +00:00
mycroft
ac70c0c5ed Slight code reduction. 1998-07-27 17:55:17 +00:00
mycroft
4d669802e4 const propagation. 1998-07-27 15:25:06 +00:00
mycroft
778e6e0151 const poisoning. 1998-07-26 19:34:10 +00:00
mycroft
be432ed479 const poisoning. 1998-07-26 14:49:36 +00:00
kleink
fc5d36f8e4 GLOB_QUOTE is dead; per POSIX, backslash quoting of special characters being
enabled is the default behaviour.
1998-06-19 22:58:04 +00:00
msaitoh
07a4bb0c95 fix some bugs. 1998-06-11 00:58:31 +00:00
msaitoh
ecf9000778 fix a bug. 1998-05-28 14:56:42 +00:00
msaitoh
d5977957e6 fix "/bin/login" to '/usr/bin/login" 1998-05-28 13:35:05 +00:00
kleink
892884f299 * Add support for POSIX "kill [-s signame] pid" syntax; actually fixes PR 5327.
* Complete the "kill -l [exitstatus]" syntax.
* Sync with the documentation and no longer permit the use of full signal
  names in the "kill [-sig] pid" syntax, e.g. -SIGHUP.
1998-05-10 18:32:46 +00:00
fair
f7c833c469 KNF + copyright assignment to TNF 1998-05-08 18:43:54 +00:00
fair
8cab837598 fix nroff error per PR#5347 1998-04-27 20:50:37 +00:00
lukem
f1a5689fa6 refer to COPTS not CFLAGS 1998-04-13 14:08:27 +00:00
fair
000297a954 Fix PR#3585 - csh printed a negative percentage of CPU used when the total
CPU usage was more than 6 hours (integer overflow problem).
1998-04-08 22:38:18 +00:00
fair
0f668275d6 Fix csh to use <paths.h> _PATH_DEFPATH as the default path, absent a PATH
from the environment.
1998-04-08 22:35:54 +00:00