Ruslan Ermilov
9badf57f01
Markup fixes.
2006-09-17 17:40:07 +00:00
Coleman Kane
6ff45b4e35
Fix the wording about the blocksize (-b) parameter. The existing
...
wording makes it look like pax archives > 32256 bytes are not
POSIX-compliant! Correct this to state that pax archives with
block sizes > 32256 are not POSIX compliant...and settle our fears.
PR: docs/97059
Reviewed by: Giorgos Keramidas <keramida>
2006-05-10 20:32:57 +00:00
David E. O'Brien
5f44e053cc
Fix bin/pax doesn't wait for compress/gzip before exiting.
...
Submitted by: Joerg Sonnenberger <joerg@britannica.bec.de>
Obtained from: OpenBSD (commited fix to PR 3455)
2005-03-12 06:38:01 +00:00
Ruslan Ermilov
0227791b40
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
Ruslan Ermilov
6b806d21d1
Fixed the misplaced $FreeBSD$.
2005-02-09 18:07:17 +00:00
Ruslan Ermilov
6fca4c7c3f
Add the new standard EXIT STATUS section where appropriate.
...
Sort standard sections in the (documented) preferred order.
2005-01-16 16:41:59 +00:00
Brian Somers
0e32d64e56
Don't decend into directories when -d is set and the directory itself doesn't
...
match.
PR: 28095
Submitted by: bill at twwells dot com
MFC after: 7 days
2005-01-12 03:25:55 +00:00
Warner Losh
9ddb49cbe4
/*- or .\"- or #- to begin license clauses.
2005-01-10 08:39:26 +00:00
Yaroslav Tykhiy
5512dc5460
Fix off-by-one errors and potential buffer overruns
...
WRT handling file and link names that reach the allowed
maximum for old tar and ustar archive formats.
PR: bin/40466
Submitted by: Cyrille Lefevre <email in the PR> (portions)
Reviewed by: freebsd-arch (silence)
MFC after: 1 month
2004-11-13 10:56:35 +00:00
Tim J. Robbins
128dc4a2e3
Document missing multibyte character handling in utilities specified
...
by POSIX.
2004-07-03 02:03:44 +00:00
Ruslan Ermilov
1171aedcdf
Deal with double whitespace.
2004-07-03 00:06:28 +00:00
Ruslan Ermilov
eccea571a7
Mechanically kill hard sentence breaks.
2004-07-02 21:04:19 +00:00
David E. O'Brien
c33c2570d3
Don't continue if the '-C' option (a-la GNUtar; commited in options.c
...
rev 1.18, but not documented in the man page) caused a failed chdir.
Otherwise, one can easily overwrite files.
Submitted by: Robert Nagy <robert@openbsd.org>
Obtained from: OpenBSD
2004-06-25 05:27:59 +00:00
Olivier Houchard
c1b2de5af0
Use WARNS?=3 for these in the arm case for now, due to toolchain issues.
2004-05-14 13:31:21 +00:00
Mark Murray
6195fb4102
Remove clause 3 from the UCB licenses.
...
OK'ed by: imp, core
2004-04-06 20:06:54 +00:00
Colin Percival
3ed29c96cf
Fix memory leak
...
PR: bin/64321
Submitted by: Rodney Ruddock <rodney@interopsystems.com>
MFOpenBSD: rev 1.17
MFC after: 3 days
2004-03-16 08:33:33 +00:00
Mark Murray
16fc3635f7
Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror)
...
that this provokes. "Wherever possible" means "In the kernel OR NOT
C++" (implying C).
There are places where (void *) pointers are not valid, such as for
function pointers, but in the special case of (void *)0, agreement
settles on it being OK.
Most of the fixes were NULL where an integer zero was needed; many
of the fixes were NULL where ascii <nul> ('\0') was needed, and a
few were just "other".
Tested on: i386 sparc64
2004-03-05 08:10:19 +00:00
Mark Murray
eac4bdcca4
Get this area compiling with the highest WARNS= that it works with.
...
Obsolete WFORMAT= junk also removed where possible.
OK'ed by: obrien
Tested on: sparc64, alpha, i386
2003-06-13 07:04:02 +00:00
Mark Murray
40feca3a99
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
David E. O'Brien
8705f13eab
Quiet warnings about copyright[].
2003-05-02 00:04:21 +00:00
David E. O'Brien
cee22cbd29
Fix signed/unsigned mix comparisons involving sizeof.
2003-05-02 00:03:10 +00:00
Tim J. Robbins
005197bb40
Add the -j and -y options to the synopsis.
2003-05-01 02:37:46 +00:00
David E. O'Brien
2e79837f7b
Make the "tarcp" example more direct.
2003-01-10 17:37:23 +00:00
Jens Schweikhardt
9d5abbddbf
Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
...
especially in troff files.
2003-01-01 18:49:04 +00:00
Tim J. Robbins
e79f14fad9
Ensure all va_starts have a matching va_end.
...
Obtained from: NetBSD
2002-10-06 09:23:58 +00:00
Tim J. Robbins
e7ed0f64bf
/dev/sa0 is the default tape device, not /dev/rst0.
2002-10-06 07:56:27 +00:00
Tim J. Robbins
5b94264c20
Fix format string errors relating mainly to the use of %qu to print off_t's.
...
Instead use %ju and cast the argument.
WFORMAT=0 is still required in the Makefile because gcc warns about
some strftime() calls (I don't think this behaviour is useful.)
Tested on: sparc64, alpha, i386
2002-10-06 03:20:27 +00:00
Bruce Evans
b4bb70cca3
Removed extra $FreeBSD$. Moved #if 0 for the vendor id to the correct
...
place. Restored indent protection of copyright comment.
2002-08-22 01:07:16 +00:00
Tom Rhodes
7d971bbf29
s/filesystem/file system/ as discussed on -developers
2002-08-21 17:32:44 +00:00
Giorgos Keramidas
cd8fb74d84
Fix a couple of typos in a comment.
...
PR: docs/33559
Submitted by: Marc Olzheim <marcolz@ilse.nl>
2002-07-15 02:03:30 +00:00
David E. O'Brien
2749b14129
Consistently use FBSDID
2002-06-30 05:15:05 +00:00
Tom Rhodes
4481bee462
more file system > filesystem
2002-05-16 03:51:38 +00:00
Tom Rhodes
ebd4324457
Consistancy check s/file system/filesystem/
...
Reviewed by: brian
2002-05-16 01:57:20 +00:00
Philippe Charnier
f4e4fcd30d
Use `The .Nm utility'
2002-04-21 12:53:08 +00:00
Philippe Charnier
874506698f
Use `The .Nm utility'
2002-04-20 11:58:12 +00:00
Philippe Charnier
c113db6945
Do not return(f_returning_void());. Spell FALLTHROUGH to make it lint()able.
2002-04-12 20:23:51 +00:00
Mark Murray
d080dfa558
No need to cast; ().gr_gid is already the correct type.
2002-03-22 15:54:44 +00:00
Kris Kennaway
6a99036a7f
Correct inadvertent style botches in previous commit.
2002-02-04 03:06:51 +00:00
Kris Kennaway
afe781faa2
Lock down with WFORMAT=1 except those directories with unfixed warnings.
...
Tested on i386 and alpha.
2002-02-04 02:49:19 +00:00
Warner Losh
f789b2611b
Ooops, forgot to remove the registers here.
2002-02-02 07:07:59 +00:00
Warner Losh
46251dde8f
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
David E. O'Brien
a748290789
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
Matthew Dillon
dbd9746f71
Use a quad int conversion routine for time_t instead of ulong, capable of
...
decoding tar's full time buffer (12 digits).
2001-10-28 02:51:43 +00:00
Matthew Dillon
2ad45bbe3d
Various string fields for certain cpio types are 11 rather then 8
...
characters. Use quad conversion functions rather then long conversion
where appropriate to handle the available range. Mainly fixes time_t
but there was also a st_size ulong conversion in there that has to be
quad or cpio cannot be used to copy files > 2G.
MFC after: 1 day
2001-10-28 02:45:04 +00:00
Matthew Dillon
6e63a1049a
Remove unnecessary casts in timeval.tv_sec load from st_*time
2001-10-28 02:42:26 +00:00
Ruslan Ermilov
753d686d34
mdoc(7) police: s/BSD/.Bx/ where appropriate.
2001-08-14 10:01:54 +00:00
Peter Wemm
ab01f43385
Initialize listf at main()
2001-08-13 21:54:47 +00:00
Ruslan Ermilov
94ba280c59
mdoc(7) police: join split punctuation to macro calls.
2001-08-10 17:35:21 +00:00
Dima Dorfman
7ebcc426ef
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
Ruslan Ermilov
caa2db3be9
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 10:04:09 +00:00