| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This self-written compiler warning, which is hopefully going to be
committed into LLVM sources soon, warns about potentially missing
`static' keywords, similar to -Wmissing-prototypes.
- bin/pax: Move external declaration of chdname and s_mask into extern.h.
- bin/setfacl: Move setfacl.c-specific stuff out of setfacl.h.
- sbin/mount_fusefs: Remove char *progname; use getprogname().
- others: add `static' where possible.
Notes:
svn path=/head/; revision=241720
|
|
|
|
|
|
|
| |
Helped by: codespell and vim's spellchecker
Notes:
svn path=/head/; revision=222177
|
|
|
|
|
|
|
| |
MFC after: 3 weeks
Notes:
svn path=/head/; revision=211965
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
are too long. Filenames escaping this test are caught later on,
so the bug doesn't cause any breakage.
Document the correct ustar limitations in pax. As I have no access
to the IEEE 1003.2 spec, I can only assume that the limitations
imposed are in fact correct.
Add regression tests for the filename limitations imposed by pax.
MFC after: 3 weeks
Notes:
svn path=/head/; revision=211963
|
|
|
|
|
|
|
|
|
|
| |
more than 100 characters long and the 101th last character is a
'/'.
MFC after: 3 weeks
Notes:
svn path=/head/; revision=211864
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pax(1) was trying to copy the back-referenced data from
the match pattern, not the matched data.
PR: bin/118132
Obtained from: Debian bug #451361
Reviewed by: jilles
MFC after: 3 weeks
Notes:
svn path=/head/; revision=208484
|
|
|
|
|
|
|
|
| |
Obtained from: OpenBSD
MFC after: 3 month
Notes:
svn path=/head/; revision=205942
|
|
|
|
| |
Notes:
svn path=/head/; revision=205940
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All the elements of these structs are char anyway, so it won't hurt
performance.
Bump warns back up to the default.
# we likely should have CTASSERTS to make sure they are the right size.
# but with libarchive based tar maybe we shouldn't bother.
Notes:
svn path=/head/; revision=203613
|
|
|
|
|
|
|
| |
as well.
Notes:
svn path=/head/; revision=203480
|
|
|
|
|
|
|
|
| |
date: use libc utmpx routines instead of the ones provided by libulog.
pax: don't depend on <utmp.h>
Notes:
svn path=/head/; revision=202193
|
|
|
|
| |
Notes:
svn path=/head/; revision=201179
|
|
|
|
|
|
|
|
|
| |
PR: bin/141835
Submitted by: Henning Petersen <henning.petersen t-online.de>
MFC after: 2 weeks
Notes:
svn path=/head/; revision=200794
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
symlinks after setting the owner. As a result, mode
and timestamp were not restored. This patch corrects the
problem by simply removing the short-circuit for symlinks
and using lchown()/lchmod()/lutimes() always for restoring
metadata.
PR: bin/91316
Submitted by: Jaakko Heinonen
Reviewed by: Joerg Sonnenberger
MFC after: 14 days
Notes:
svn path=/head/; revision=187976
|
|
|
|
|
|
|
| |
Don't abuse arcname's constness.
Notes:
svn path=/head/; revision=169993
|
|
|
|
|
|
|
|
| |
- remove a superfluous doubled trailing semicolon.
- remove the extra void casts on calls to void-function free(3).
Notes:
svn path=/head/; revision=169926
|
|
|
|
| |
Notes:
svn path=/head/; revision=164699
|
|
|
|
| |
Notes:
svn path=/head/; revision=162379
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
Notes:
svn path=/head/; revision=158414
|
|
|
|
|
|
|
|
| |
Submitted by: Joerg Sonnenberger <joerg@britannica.bec.de>
Obtained from: OpenBSD (commited fix to PR 3455)
Notes:
svn path=/head/; revision=143447
|
|
|
|
| |
Notes:
svn path=/head/; revision=141846
|
|
|
|
| |
Notes:
svn path=/head/; revision=141580
|
|
|
|
|
|
|
| |
Sort standard sections in the (documented) preferred order.
Notes:
svn path=/head/; revision=140353
|
|
|
|
|
|
|
|
|
|
|
| |
match.
PR: 28095
Submitted by: bill at twwells dot com
MFC after: 7 days
Notes:
svn path=/head/; revision=140097
|
|
|
|
| |
Notes:
svn path=/head/; revision=139969
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=137645
|
|
|
|
|
|
|
| |
by POSIX.
Notes:
svn path=/head/; revision=131513
|
|
|
|
| |
Notes:
svn path=/head/; revision=131505
|
|
|
|
| |
Notes:
svn path=/head/; revision=131484
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=131085
|
|
|
|
| |
Notes:
svn path=/head/; revision=129215
|
|
|
|
|
|
|
| |
OK'ed by: imp, core
Notes:
svn path=/head/; revision=127958
|
|
|
|
|
|
|
|
|
|
| |
PR: bin/64321
Submitted by: Rodney Ruddock <rodney@interopsystems.com>
MFOpenBSD: rev 1.17
MFC after: 3 days
Notes:
svn path=/head/; revision=127055
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=126643
|
|
|
|
|
|
|
|
|
|
| |
Obsolete WFORMAT= junk also removed where possible.
OK'ed by: obrien
Tested on: sparc64, alpha, i386
Notes:
svn path=/head/; revision=116282
|
|
|
|
|
|
|
|
|
| |
WARNS=6, std=c99 clean.
Tested on: i386, alpha
Notes:
svn path=/head/; revision=114583
|
|
|
|
| |
Notes:
svn path=/head/; revision=114470
|
|
|
|
| |
Notes:
svn path=/head/; revision=114469
|
|
|
|
| |
Notes:
svn path=/head/; revision=114369
|
|
|
|
| |
Notes:
svn path=/head/; revision=109075
|
|
|
|
|
|
|
| |
especially in troff files.
Notes:
svn path=/head/; revision=108533
|
|
|
|
|
|
|
| |
Obtained from: NetBSD
Notes:
svn path=/head/; revision=104560
|
|
|
|
| |
Notes:
svn path=/head/; revision=104556
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=104548
|
|
|
|
|
|
|
| |
place. Restored indent protection of copyright comment.
Notes:
svn path=/head/; revision=102245
|
|
|
|
| |
Notes:
svn path=/head/; revision=102230
|
|
|
|
|
|
|
|
| |
PR: docs/33559
Submitted by: Marc Olzheim <marcolz@ilse.nl>
Notes:
svn path=/head/; revision=100012
|
|
|
|
| |
Notes:
svn path=/head/; revision=99110
|
|
|
|
| |
Notes:
svn path=/head/; revision=96706
|
|
|
|
|
|
|
| |
Reviewed by: brian
Notes:
svn path=/head/; revision=96702
|