dds
149187706d
Interpret correctly the glob(3) return value.
...
Previously, interactive commands specifying a non-existent file or
directory used to display an "out of memory error".
MFC after: 2 weeks
2005-07-21 16:12:35 +00:00
charnier
a40be9078d
rscid -> __FBSDID. Mark parameter as __unused when necessary.
2005-05-29 15:57:00 +00:00
stefanf
5857c0ba2a
Use the correct types for the functions rst_opendir(), glob_readdir() and
...
rst_closedir() which are called by glob().
Reviewed by: md5
Approved by: das (mentor)
2004-05-24 16:24:26 +00:00
markm
90f91e7879
Remove advertising clause from University of California Regent's license,
...
per letter dated July 22, 1999.
Approved by: core, imp
2004-04-09 19:58:40 +00:00
ache
10de01a46b
Localize 'ls' output
...
Don't set 8bit in quote processing
2003-08-06 08:46:21 +00:00
mike
86a758e51b
Use the standardized CHAR_BIT constant instead of NBBY in userland.
2002-09-25 04:06:37 +00:00
charnier
4966efff7b
Replace various spelling with FALLTHROUGH which is lint()able
2002-08-25 13:10:45 +00:00
imp
69763106f0
o remove __P
...
o Use ANSI function definitions
o unifdef -D__STDC__
2002-03-20 22:49:40 +00:00
obrien
73c6870b18
Remove 'register' keyword.
...
It does not help modern compilers, and some may take some hit from it.
(I also found several functions that listed *every* of its 10 local vars with
"register" -- just how many free registers do people think machines have?)
2002-03-20 17:55:10 +00:00
iedowse
a507515e08
Stop restore from looping under certain error conditions. This
...
corrects cases where restore would spew an infinite stream of
"Changing volumes on pipe input?" messages, or would loop waiting
for a response to the "set owner/mode for '.'" question.
PR: bin/14250
Reviewed by: dwmalone
2000-12-12 12:04:02 +00:00
peter
76f0c923fe
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
imp
a25b16eb03
Fix two possible non-exploitable buffer overflows.
...
Thanks to: A friend at Sun auditing dump/restore for Solaris.
1998-12-16 04:48:00 +00:00
imp
2405040f08
Prevent buffer overflow with extra long arguments.
1998-09-17 20:18:11 +00:00
charnier
fbfb398b38
Add rcsid. Remove unused #includes. Add missing prototypes and others -Wall
...
cleanings. Spelling.
1998-07-28 06:20:16 +00:00
peter
494e7b3a77
Merge from Lite2
...
- cleanups,
- whiteout support
- bug fixes (chflags missing on a few file types etc)
The dump/restore folks would want to have a closer look at this, the
change is pretty big.
1997-03-11 12:55:19 +00:00
imp
8c5715a8db
Apply patch from pr2536, after testing locally.
...
Fixes: PR2446 and PR2536
Submitted by: Flemming Jacobsen <fj@tfs.com>
2.2 Candidate.
1997-01-25 05:27:17 +00:00
guido
07e783bc3e
Yet another buffer overflow.
...
2.2 candidate
(and -stable too actually, who does that?)
Reviewed by: Warner Losh
1997-01-01 14:08:47 +00:00
rgrimes
d038e02fd6
BSD 4.4 Lite sbin Sources
...
Note: XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.
1994-05-26 06:35:07 +00:00