Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Before this fix, pax would stop the restore sequence for | kientzle | 2009-02-01 | 1 | -36/+4 |
| | | | | | | | | | | | | | 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 | ||||
* | Remove unnecessary free argument casts. | brian | 2007-05-25 | 4 | -32/+29 |
| | | | | Don't abuse arcname's constness. | ||||
* | Cleanup pax(1) sources a little bit while I poked around in them: | rse | 2007-05-24 | 5 | -25/+25 |
| | | | | | - remove a superfluous doubled trailing semicolon. - remove the extra void casts on calls to void-function free(3). | ||||
* | Fix some of the alignment warnings on ARM. | ru | 2006-11-27 | 2 | -17/+17 |
| | |||||
* | Markup fixes. | ru | 2006-09-17 | 1 | -1/+2 |
| | |||||
* | Fix the wording about the blocksize (-b) parameter. The existing | cokane | 2006-05-10 | 1 | -2/+3 |
| | | | | | | | | | 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> | ||||
* | Fix bin/pax doesn't wait for compress/gzip before exiting. | obrien | 2005-03-12 | 1 | -4/+6 |
| | | | | | Submitted by: Joerg Sonnenberger <joerg@britannica.bec.de> Obtained from: OpenBSD (commited fix to PR 3455) | ||||
* | Expand *n't contractions. | ru | 2005-02-13 | 1 | -1/+1 |
| | |||||
* | Fixed the misplaced $FreeBSD$. | ru | 2005-02-09 | 2 | -2/+2 |
| | |||||
* | Add the new standard EXIT STATUS section where appropriate. | ru | 2005-01-16 | 3 | -51/+51 |
| | | | | Sort standard sections in the (documented) preferred order. | ||||
* | Don't decend into directories when -d is set and the directory itself doesn't | brian | 2005-01-12 | 3 | -2/+19 |
| | | | | | | | | match. PR: 28095 Submitted by: bill at twwells dot com MFC after: 7 days | ||||
* | /*- or .\"- or #- to begin license clauses. | imp | 2005-01-10 | 4 | -3/+4 |
| | |||||
* | Fix off-by-one errors and potential buffer overruns | yar | 2004-11-13 | 1 | -18/+30 |
| | | | | | | | | | | 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 | ||||
* | Document missing multibyte character handling in utilities specified | tjr | 2004-07-03 | 1 | -1/+5 |
| | | | | by POSIX. | ||||
* | Deal with double whitespace. | ru | 2004-07-03 | 1 | -2/+2 |
| | |||||
* | Mechanically kill hard sentence breaks. | ru | 2004-07-02 | 1 | -2/+2 |
| | |||||
* | Don't continue if the '-C' option (a-la GNUtar; commited in options.c | obrien | 2004-06-25 | 1 | -1/+3 |
| | | | | | | | | 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 | ||||
* | Use WARNS?=3 for these in the arm case for now, due to toolchain issues. | cognet | 2004-05-14 | 1 | -0/+4 |
| | |||||
* | Remove clause 3 from the UCB licenses. | markm | 2004-04-06 | 26 | -104/+0 |
| | | | | OK'ed by: imp, core | ||||
* | Fix memory leak | cperciva | 2004-03-16 | 1 | -2/+2 |
| | | | | | | | PR: bin/64321 Submitted by: Rodney Ruddock <rodney@interopsystems.com> MFOpenBSD: rev 1.17 MFC after: 3 days | ||||
* | Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) | markm | 2004-03-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | 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 | ||||
* | Get this area compiling with the highest WARNS= that it works with. | markm | 2003-06-13 | 1 | -1/+0 |
| | | | | | | | Obsolete WFORMAT= junk also removed where possible. OK'ed by: obrien Tested on: sparc64, alpha, i386 | ||||
* | Fix a bazillion warnings. This makes almost the whole of src/bin/* | markm | 2003-05-03 | 11 | -75/+88 |
| | | | | | | WARNS=6, std=c99 clean. Tested on: i386, alpha | ||||
* | Quiet warnings about copyright[]. | obrien | 2003-05-02 | 1 | -2/+2 |
| | |||||
* | Fix signed/unsigned mix comparisons involving sizeof. | obrien | 2003-05-02 | 3 | -11/+13 |
| | |||||
* | Add the -j and -y options to the synopsis. | tjr | 2003-05-01 | 1 | -1/+1 |
| | |||||
* | Make the "tarcp" example more direct. | obrien | 2003-01-10 | 1 | -5/+5 |
| | |||||
* | Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, | schweikh | 2003-01-01 | 10 | -21/+21 |
| | | | | especially in troff files. | ||||
* | Ensure all va_starts have a matching va_end. | tjr | 2002-10-06 | 1 | -1/+1 |
| | | | | Obtained from: NetBSD | ||||
* | /dev/sa0 is the default tape device, not /dev/rst0. | tjr | 2002-10-06 | 2 | -6/+6 |
| | |||||
* | Fix format string errors relating mainly to the use of %qu to print off_t's. | tjr | 2002-10-06 | 4 | -9/+15 |
| | | | | | | | | | 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 | ||||
* | Removed extra $FreeBSD$. Moved #if 0 for the vendor id to the correct | bde | 2002-08-22 | 1 | -5/+3 |
| | | | | place. Restored indent protection of copyright comment. | ||||
* | s/filesystem/file system/ as discussed on -developers | trhodes | 2002-08-21 | 13 | -37/+37 |
| | |||||
* | Fix a couple of typos in a comment. | keramida | 2002-07-15 | 2 | -3/+3 |
| | | | | | PR: docs/33559 Submitted by: Marc Olzheim <marcolz@ilse.nl> | ||||
* | Consistently use FBSDID | obrien | 2002-06-30 | 16 | -31/+32 |
| | |||||
* | more file system > filesystem | trhodes | 2002-05-16 | 1 | -1/+1 |
| | |||||
* | Consistancy check s/file system/filesystem/ | trhodes | 2002-05-16 | 12 | -33/+33 |
| | | | | Reviewed by: brian | ||||
* | Use `The .Nm utility' | charnier | 2002-04-21 | 1 | -23/+24 |
| | |||||
* | Use `The .Nm utility' | charnier | 2002-04-20 | 2 | -5/+5 |
| | |||||
* | Do not return(f_returning_void());. Spell FALLTHROUGH to make it lint()able. | charnier | 2002-04-12 | 1 | -9/+15 |
| | |||||
* | No need to cast; ().gr_gid is already the correct type. | markm | 2002-03-22 | 1 | -1/+1 |
| | |||||
* | Correct inadvertent style botches in previous commit. | kris | 2002-02-04 | 1 | -2/+1 |
| | |||||
* | Lock down with WFORMAT=1 except those directories with unfixed warnings. | kris | 2002-02-04 | 1 | -0/+2 |
| | | | | Tested on i386 and alpha. | ||||
* | Ooops, forgot to remove the registers here. | imp | 2002-02-02 | 14 | -318/+318 |
| | |||||
* | o __P has been reoved | imp | 2002-02-02 | 17 | -1342/+181 |
| | | | | | | | | | 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. | ||||
* | Default to WARNS=2. Binary builds that cannot handle this must explicitly | obrien | 2001-12-04 | 1 | -0/+1 |
| | | | | | | set WARNS=0. Reviewed by: mike | ||||
* | Use a quad int conversion routine for time_t instead of ulong, capable of | dillon | 2001-10-28 | 1 | -2/+4 |
| | | | | decoding tar's full time buffer (12 digits). | ||||
* | Various string fields for certain cpio types are 11 rather then 8 | dillon | 2001-10-28 | 1 | -6/+15 |
| | | | | | | | | | 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 | ||||
* | Remove unnecessary casts in timeval.tv_sec load from st_*time | dillon | 2001-10-28 | 1 | -4/+4 |
| | |||||
* | mdoc(7) police: s/BSD/.Bx/ where appropriate. | ru | 2001-08-14 | 1 | -1/+4 |
| |