cperciva
e4c186657b
In the error handling path, don't call close(fd) if the error we're
...
handling is that fd = open(foo) is -1. This bug is harmless since
close(-1) just returns an error (which the code ignores).
Found by: Coverity Prevent(tm)
CID: 1503 (in userland test run)
2007-05-22 04:21:00 +00:00
ru
22ef9e3f5c
Fix markup.
2007-02-27 11:25:58 +00:00
ru
1541af42f1
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
ru
978b8f7f1d
Sync program's usage() with manpage's SYNOPSIS.
2005-02-09 17:37:39 +00:00
ru
e8f9b51a47
De-kerberize the manpage.
2005-01-21 09:31:38 +00:00
imp
a76898b849
/*- or .\"- or #- to begin license clauses.
2005-01-10 08:39:26 +00:00
imp
16deb40af9
Remove the clause 3, per berkeley and mail from rwatson representing
...
that nai was OK with all third clause removals.
2005-01-10 08:21:45 +00:00
ru
f0fbc30e0d
Introduce the PRECIOUSPROG knob in bsd.prog.mk, similar
...
to PRECIOUSLIB from bsd.lib.mk. The side effect of this
is making installing the world under jail(8) possible by
using another knob, NOFSCHG.
Reviewed by: oliver
2004-11-03 18:01:21 +00:00
ru
305463f129
Deal with double whitespace.
2004-07-03 00:06:28 +00:00
ru
d40c857e0d
Mechanically kill hard sentence breaks.
2004-07-02 21:04:19 +00:00
markm
4383f14801
Remove clause 3 from the UCB licenses.
...
OK'ed by: imp, core
2004-04-06 20:06:54 +00:00
markm
8b5053fdbe
Turn malloc+snprintf into asnprintf.
...
Submitted by: David Hill <hill at phobia dot em ess>
2003-10-14 20:42:13 +00:00
markm
0bdf7b1ca4
Fix a bazillion warnings. This makes almost the whole of src/bin/*
...
WARNS=6, std=c99 clean.
Tested on: i386, alpha
2003-05-03 16:39:34 +00:00
obrien
3bcdc44d52
Make count a size_t as that is what is compared against and how it is used.
2003-05-02 06:36:52 +00:00
obrien
eaf3fff90a
Quiet warnings about copyright[].
2003-05-01 16:58:57 +00:00
markm
f55bb1d531
Dekerberise. The corresponding userland stuff has been dekerberised
...
for ages, and no-one seems to have noticed. Viva PAM!
2002-10-16 16:10:46 +00:00
tjr
91b15ccd4a
Clean up use of <stdarg.h> macros: always call va_end after va_start,
...
reset with a call to va_start before each use of the va_list.
Obtained from: NetBSD
2002-10-06 11:14:21 +00:00
charnier
a6e37dc919
While removing a memory leak, rev 1.32 introduced a
...
free-memory-and-reuse-it-after. Correct both problems and
make rcp -r work again under /etc/malloc.conf -> AJ.
2002-10-06 09:09:27 +00:00
tjr
35ddfecc38
Use %jd in format string and cast argument to intmax_t instead of using
...
%qd to print struct stat.st_size. Remove WARNS=0 and WFORMAT=0 from
Makefile.
Tested on: alpha, sparc64, i386
2002-10-06 03:50:06 +00:00
jmallett
89c5289c52
Mark the signo as __unused in a lazy signal handler.
2002-09-29 07:59:57 +00:00
ume
6b28291e08
IPv6 support for rcp.
...
You cannot specify a raw IPv6 address for now.
MFC after: 1 week
2002-08-09 16:12:08 +00:00
dillon
3adf63f81d
err() is documented as allowing NULL for the format string but GCC isn't
...
happy about it any more so change the usage to make buildworld work again.
2002-07-10 20:44:55 +00:00
obrien
f6f518b207
Consistently use FBSDID
2002-06-30 05:15:05 +00:00
jmallett
f49002f4f6
Use size_t consistently and complete some uncompleted code resulting in a
...
memory leak by assigning and freeing a variable appropriately as well as
keeping track of the amount of allocated ram properly.
MFC after: 1 month
2002-06-20 06:00:51 +00:00
des
84dfbe4ad5
Use <paths.h> rather than "pathnames.h", and fix a couple of whitespace nits.
...
Sponsored by: DARPA, NAI Labs
2002-05-08 00:47:01 +00:00
ru
8a3e2794af
Replaced exists() tests with two equivalent defined().
...
LIBDIR is defined in bsd.own.mk but sys.mk no longer
includes bsd.own.mk as of revision 1.60.
2002-04-18 07:01:35 +00:00
charnier
79b89ed363
Use `The .Nm utility'
2002-04-16 20:08:06 +00:00
kris
a1a10418c8
Correct inadvertent style botches in previous commit.
2002-02-04 03:06:51 +00:00
kris
bb3058824a
Lock down with WFORMAT=1 except those directories with unfixed warnings.
...
Tested on i386 and alpha.
2002-02-04 02:49:19 +00:00
imp
50014e3541
o __P has been reoved
...
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.
2002-02-02 06:48:10 +00:00
obrien
099f8ecbe9
Default to WARNS=2. Binary builds that cannot handle this must explicitly
...
set WARNS=0.
Reviewed by: mike
2001-12-04 01:57:47 +00:00
obrien
b8605bc696
style(9)
2001-08-01 05:12:39 +00:00
ru
2149a5069b
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 10:04:09 +00:00
brian
8636b161b3
Fix the type of the NULL arg to execl()
...
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
pirzyk
c8969dd00c
Fixed two bugs, first not allowing '.' as a valid login name character
...
in okname() in util.c and second, returning != 0 when you do have an
error from okname in two places in rcp.c.
Thanks to Garrett for the POSIX defintion of valid login and group names.
PR: bin/25757
MFC after: 3 weeks
2001-05-30 16:19:13 +00:00
imp
8c99d1db67
Use PATH_MAX instead of MAXPATHLEN.
...
Also use sizeof(path) in preference to PATH_MAX.
2001-05-30 03:33:32 +00:00
kris
b6da0fca77
-Wnon-const-format sweep: make format strings const char *'s, add
...
__printflike()/__printf0like() to function prototypes, as appropriate.
Reviewed by: bde, -audit
2001-04-17 07:46:38 +00:00
ru
b5cd63f616
mdoc(7) police: use the default ``file ...'' feature of the .Ar macro.
2001-02-13 09:56:35 +00:00
ru
be1f850a8f
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 11:39:41 +00:00
ben
bd94b89a9a
more removal of trailing periods from SEE ALSO.
2000-11-15 16:44:24 +00:00
markm
7f1f2ce659
Use libcrypto inst=ead if libdes.
2000-02-24 21:21:15 +00:00
phantom
db3639c852
. mdoc(7)'fy
...
. add Xrs to hosts.equiv(5), auth.conf(5), services(5) to some pages
. sort Xrs in SEE ALSO sections
Patches based on PR: docs/15680
Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
2000-01-07 13:14:32 +00:00
markm
323c69d480
Fix for new Kerberos4.
1999-09-19 22:11:15 +00:00
peter
66312e4a8d
$Id$ -> $FreeBSD$
1999-08-27 23:15:48 +00:00
bde
301e8ec7e2
Improved error handling in rev.1.18: don't ignore failure of execve().
...
Fixed some style bugs in rev.1.18.
1999-07-04 15:42:04 +00:00
dt
6ec46c7bd7
Quick fix to allow transfer files >2GB.
1999-04-25 10:36:00 +00:00
bde
325019ad69
Don't put compiler warning flags in leaf Makefiles.
1998-12-07 12:50:48 +00:00
markm
79f5d6d3cc
Add JKH's auth.conf-file parser to turn Kerberos on/off in userland.
1998-10-09 06:31:45 +00:00
markm
ec4dc9550e
Fix LIBDIR (for aout/ELF).
1998-08-06 21:41:13 +00:00
bde
f2d2a0561a
Fixed printf format errors (time_t is not necessarily long).
1998-08-02 14:25:24 +00:00