CVS log for src/bin/pax/ar_io.c
Up to [cvs.NetBSD.org] / src / bin / pax
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.60: download - view: text, markup, annotated - select for diffs
Thu Jul 20 20:10:59 2023 UTC (16 months, 3 weeks ago) by lukem
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -3
lines
pax: fix -Wformat for host tool
Revision 1.58.4.3: download - view: text, markup, annotated - select for diffs
Tue Apr 21 19:37:33 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.58.4.2: preferred, colored; branchpoint 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58.4.2: +2 -2
lines
Ooops, restore accidently removed files from merge mishap
Revision 1.58.4.2
Tue Apr 21 18:41:05 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.58.4.1: +2 -2
lines
Sync with HEAD
Revision 1.58.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 21:41:03 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -3
lines
Sync with HEAD
Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Feb 4 04:36:41 2019 UTC (5 years, 10 months ago) by mrg
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -3
lines
- bump buffer sizes to avoid potential truncation issues
Revision 1.58: download - view: text, markup, annotated - select for diffs
Mon Oct 2 21:57:59 2017 UTC (7 years, 2 months ago) by joerg
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat
Branch point for: phil-wifi
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +10 -10
lines
Include time.h for time(2). Sort.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue May 31 03:32:36 2016 UTC (8 years, 6 months ago) by dholland
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +8 -10
lines
Don't use the length return from snprintf to write out the result
buffer. If snprintf truncated the output, the length returned will be
greater and we'll write trash. Just call strlen instead. (And since
what we're doing is writing progress messages to the user, checking
carefully for truncation isn't really worthwhile either.)
Spotted when attending to PR 50998 from David Binderman; the issue
there (computation of an unused value) popped up because one of the
prints was already calling strlen.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Mon Mar 9 23:38:08 2015 UTC (9 years, 9 months ago) by sevan
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -3
lines
From OpenBSD r1.49
Fix comment grammar
Revision 1.54.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 19 23:45:11 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +2 -2
lines
Rebase to HEAD as of a few days ago.
Revision 1.54.10.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:41:18 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +2 -2
lines
Rebase.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Aug 8 14:48:55 2014 UTC (10 years, 4 months ago) by joerg
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -2
lines
Fix RCS ID.
Revision 1.53.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:01:37 2012 UTC (12 years, 8 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +3 -11
lines
sync with head
Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Mar 20 18:42:28 2012 UTC (12 years, 8 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
tls-earlyentropy
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -11
lines
Use C89 function definitions
Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Aug 31 16:24:54 2011 UTC (13 years, 3 months ago) by plunky
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus
Branch point for: yamt-pagecache
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -2
lines
NULL does not need a cast
Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Aug 31 05:07:09 2010 UTC (14 years, 3 months ago) by enami
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +1 -3
lines
Backout previous; it was wrong fix.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Tue Aug 31 04:50:07 2010 UTC (14 years, 3 months ago) by enami
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -1
lines
Fix build as tools.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Aug 31 03:16:06 2010 UTC (14 years, 3 months ago) by enami
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +6 -1
lines
- Raise an error rather than silently creating broken archive
if user don't specify --force-local but opened file is actually
a local file.
- Make cpio to accept -F option as described in manpage.
- Make pax to set forcelocal flag if requested to do so.
- Add missing break statement.
Revision 1.48.22.2: download - view: text, markup, annotated - select for diffs
Fri Dec 18 06:12:25 2009 UTC (14 years, 11 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Diff to: previous 1.48.22.1: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.22.1: +11 -11
lines
Make this compile on snow leopard.
Revision 1.48.22.1: download - view: text, markup, annotated - select for diffs
Tue Dec 15 19:53:21 2009 UTC (15 years ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -3
lines
Allow tools to build on OSX 10.6 (Snow Leopard).
Revision 1.48.20.1: download - view: text, markup, annotated - select for diffs
Sat Oct 3 21:30:36 2009 UTC (15 years, 2 months ago) by snj
Branches: netbsd-5-0
CVS tags: netbsd-5-0-2-RELEASE
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +11 -11
lines
Pull up following revision(s) (requested by apb in ticket #1020):
bin/pax/Makefile: revision 1.38
bin/pax/ar_io.c: revision 1.49
tools/compat/configure: revision 1.69
tools/compat/configure.ac: revision 1.69
do not require sys/mtio.h for a tools build of pax
Revision 1.48.18.1: download - view: text, markup, annotated - select for diffs
Sat Oct 3 21:27:59 2009 UTC (15 years, 2 months ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
matt-nb5-pq3-base,
matt-nb5-pq3
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +11 -11
lines
Pull up following revision(s) (requested by apb in ticket #1020):
bin/pax/Makefile: revision 1.38
bin/pax/ar_io.c: revision 1.49
tools/compat/configure: revision 1.69
tools/compat/configure.ac: revision 1.69
do not require sys/mtio.h for a tools build of pax
Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Feb 3 05:22:40 2009 UTC (15 years, 10 months ago) by dbj
Branches: MAIN
CVS tags: matt-premerge-20091211,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +11 -11
lines
do not require sys/mtio.h for a tools build of pax
Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Apr 23 18:40:22 2007 UTC (17 years, 7 months ago) by christos
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
netbsd-5-base,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-1-RELEASE,
mjf-devfs2-base,
mjf-devfs2,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf
Branch point for: netbsd-5-0,
netbsd-5,
matt-nb5-mips64
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +13 -23
lines
PR/36194: Greg A. Woods: add a '-V' flag to pax for verbose summary without
listing (and other minor fixes)
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Feb 11 10:43:17 2006 UTC (18 years, 10 months ago) by dsl
Branches: MAIN
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +65 -65
lines
Change all the 'return(x)' to 'return c'.
Makes some other searches I want to do a bit easier.
Revision 1.39.2.1.2.1: download - view: text, markup, annotated - select for diffs
Sat Jul 23 17:32:16 2005 UTC (19 years, 4 months ago) by snj
Branches: netbsd-2
CVS tags: netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1
Diff to: previous 1.39.2.1: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.2.1: +70 -40
lines
Apply patch (requested by riz in ticket #5512):
Sync pax with HEAD of 2005-07-22.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun May 1 02:59:28 2005 UTC (19 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +31 -6
lines
PR/29005: Jesse Off: nbpax requires sys/mtio.h which doesn't exist on Interix
I added an ifdef called HAVE_MTIO_H and fixed the code to use it. It is
always defined now, but you can change this for Interix.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Apr 24 01:45:03 2005 UTC (19 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +10 -16
lines
PR/18759: FUKAUMI Naoki: pax/tar dot-dot handling broken
PR/18840: Frederick Bruckman: Fix for PR/18663 incomplete pax symlink handling
This patch makes ``--insecure'' do something. Now if ``--insecure''
is not set (the default) we do a realpath(3) in all the pathnames
that we are trying to create and if either realpath fails, or the
path is outside our working directory, we print a warning and die.
This maybe too strict and might fail on valid archives that create
symlinks and directories in the wrong order.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Mon Aug 2 10:20:48 2004 UTC (20 years, 4 months ago) by yamt
Branches: MAIN
CVS tags: netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +12 -12
lines
indent fix for the previous (ar_io.c rev.1.43)
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Jul 18 20:58:36 2004 UTC (20 years, 5 months ago) by yamt
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +17 -9
lines
for copy mode, show more meaningful infomation on SIGINFO.
Revision 1.39.2.1: download - view: text, markup, annotated - select for diffs
Tue Jun 22 07:29:43 2004 UTC (20 years, 5 months ago) by tron
Branches: netbsd-2-0
CVS tags: netbsd-2-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE
Branch point for: netbsd-2
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +7 -3
lines
Pull up revision 1.41 (requested by jmc in ticket #527):
Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')
Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).
Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.
Fixes PR's: PR#17762 PR#25944
Revision 1.42: download - view: text, markup, annotated - select for diffs
Mon Jun 21 13:38:51 2004 UTC (20 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +5 -3
lines
don't keep going if -C failed to chdir(); from OpenBSD
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Jun 20 22:20:14 2004 UTC (20 years, 5 months ago) by jmc
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +7 -3
lines
Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')
Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).
Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.
Fixes PR's: PR#17762 PR#25944
Revision 1.22.2.2: download - view: text, markup, annotated - select for diffs
Wed Jun 16 01:27:38 2004 UTC (20 years, 6 months ago) by jmc
Branches: netbsd-1-6
Diff to: previous 1.22.2.1: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.2.1: +4 -4
lines
fix botched pullup from ticket #1021 and make sure this compiles on
non-NetBSD hosts again. Also fixes PR#24481
Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue May 11 17:12:26 2004 UTC (20 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +12 -11
lines
Welcome to WARNS=3
Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 7 06:57:05 2004 UTC (20 years, 8 months ago) by jmc
Branches: netbsd-1-6
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +300 -122
lines
Pullup rev 1.23-1.39 (requested by rafal in ticket #1021)
Pullup pax to current version on trunk. Includes many fixes.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Oct 27 00:12:41 2003 UTC (21 years, 1 month ago) by lukem
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +7 -3
lines
Overhaul how `build.sh tools' are used:
* Rename "config.h" to "nbtool_config.h" and
HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
This makes in more obvious in the source when we're using
tools/compat/config.h versus "standard autoconf" config.h
* Consistently move the inclusion of nbtool_config.h to before
<sys/cdefs.h> so that the former can provide __RCSID() (et al),
and there's no need to protect those macros any more.
These changes should make it easier to "tool-ify" a program by adding:
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
to the top of the source files (for the general case).
Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Oct 13 07:41:22 2003 UTC (21 years, 2 months ago) by agc
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -37
lines
Move Keith Muller's code from a 4-clause to a 3-clause licence by removing
the advertising clause. Diffs provided in PR 22397 by Joel Baker, confirmed
to the board by Keith Muller.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Sep 18 09:18:24 2003 UTC (21 years, 3 months ago) by grant
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +9 -6
lines
wait for compression program to finish before exiting.
fix races condition resulting in a zero length archive after pax
exits.
patch from OpenBSD, provided by Joerg Sonnenberger in PR bin/22740.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu Aug 7 09:05:19 2003 UTC (21 years, 4 months ago) by agc
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +33 -3
lines
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22249, verified by myself.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Mar 31 20:24:52 2003 UTC (21 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +11 -4
lines
Detect and report end of archive properly ala' gnu tar.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Mar 31 20:06:33 2003 UTC (21 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -4
lines
RP/8227: Peter Seeback: Emulate old gnu tar better.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Feb 25 13:36:59 2003 UTC (21 years, 9 months ago) by wiz
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +5 -4
lines
Add support for '-j' to create (and extract, but -z already did that)
bzip2 compressed tar files, for GNU tar compatibility.
Patch from Soren Jacobsen in PR 19467, okayed by christos.
Sync usage with options while here.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Feb 9 18:27:10 2003 UTC (21 years, 10 months ago) by grant
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +5 -4
lines
cosmetic error condition improvements.
- sprinkle some fflush() to print filenames correctly.
- print a \n to stdout to fix formatting.
- English, consistently use "Cannot" in error messages.
some whitespace cleanup.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Feb 2 10:21:13 2003 UTC (21 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +10 -10
lines
Fix various spelling, grammar, and punctuation problems in comments, from Sergey Svishchev in PR 20164.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu Dec 12 05:00:42 2002 UTC (22 years ago) by christos
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3
lines
fix horrible side effect introduced by changing the append mode into archive.
The append mode already did that, so we always ended up overwriting the archive.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Dec 10 18:33:26 2002 UTC (22 years ago) by christos
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +18 -2
lines
PR/19339: Martin Weber: Tar fails to append on empty files and exits with
0. Revert previous change for PR/18689. We always want to exit with
an error if we could not determine the archive format. Instead,
treat empty files specially. On list/extract we turn into no/op.
On append, we turn into archive.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Dec 5 01:38:05 2002 UTC (22 years ago) by grant
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -7
lines
don't print archive summary twice.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Oct 16 03:46:07 2002 UTC (22 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -4
lines
Support gnu long filename extensions by default for tar on create, list, and
extract. We now generate GNU tar archives by default ("ustar ^@" instead of
"ustar^@00"). GNU extensions can be disabled with --strict.
XXX: long symlinks untested.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Oct 13 17:19:33 2002 UTC (22 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3
lines
If the archive refers to stdin, the archive's name is null. Check for
null when we see if it refers to a remote file. From Eric Gillespie, thanks!
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Oct 12 19:21:12 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -2
lines
Only include <rmt.h> if SUPPORT_RMT.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Oct 12 18:49:28 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +105 -14
lines
It doesn't help much to skip linking librmt if HOSTPROG but leave
all the librmt calls in the program. So, make librmt support conditional
on #ifdef SUPPORT_RMT, and define that when NOT building as a HOSTPROG.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Oct 12 15:39:29 2002 UTC (22 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +165 -103
lines
merge OpenBSD changes:
- correct -C processing
- add ability to read filenames and flags from a file
- don't print dangerous escape sequences to the terminal
- use strlcpy/strncpy properly.
- handle tmpfile creation better.
- improve documentation of options.
- handle stdout/stderr list selection correctly.
- kill gzip when we get interrupted.
- simplify gzip setup.
- add more flags to programs.
additional changes:
- librmt processing.
- set POSIXLY_CORRECT in options parsing.
- prevent more string overruns.
- support -T
we don't turn the switch on to replace tar and cpio yet.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Jan 31 19:27:53 2002 UTC (22 years, 10 months ago) by tv
Branches: MAIN
CVS tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001
Branch point for: netbsd-1-6
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3
lines
Protect __RCSID and __COPYRIGHT from being invoked if not defined.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Jan 29 10:20:28 2002 UTC (22 years, 10 months ago) by tv
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -3
lines
Make almost all tools compile and run properly on non-NetBSD hosts. (In
particular, most tools now run correctly on Solaris 7.)
Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Oct 25 05:33:32 2001 UTC (23 years, 1 month ago) by lukem
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +10 -136
lines
- ansi KNF (just remove all the #ifndef __STDC__ prototype junk,
leaving the ansi stuff)
- use longlong_t instead of quad_t (etc), and rename *uqd*() -> *ull*()
- clean up the NET2_STAT stuff similar to ftpd; provide #defines and
macros which select which cast to use, etc
- clean up the NET2_FTS and NET2_REGEX #define use
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Sep 16 16:34:23 2001 UTC (23 years, 3 months ago) by wiz
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3
lines
Spell 'occurred' with two 'r's.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Mar 30 17:53:04 2000 UTC (24 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
netbsd-1-5,
minoura-xpg4dl-base,
minoura-xpg4dl
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -3
lines
Add a -O option: force one volume. This causes pax to not prompt for
a new volume upon premature end-of-volume (e.g. broken pipe). This is
especially useful in automated environments where error recovery cannot
be performed by a human.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Feb 17 03:12:22 2000 UTC (24 years, 10 months ago) by itohy
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +42 -42
lines
Cleanup and fix typos.
Partially from FreeBSD.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Feb 17 03:08:40 2000 UTC (24 years, 10 months ago) by itohy
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +11 -8
lines
Use lseek(2) on devices if not tape drives.
This makes listing on raw disk device much faster.
Reviewed and discussed in tech-kern and tech-userlevel lists.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Feb 17 03:06:12 2000 UTC (24 years, 10 months ago) by itohy
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +135 -9
lines
Fix SIGINFO botch (PR #8868).
Continue partial write(2) on signals (xwrite()).
Partial read(2) at a few places are also continued (xread()).
Add {read,write}_with_restart() hooks for porting on systems
which don't restart interrupted read()/write() calls.
Reviewed and discussed in tech-kern and tech-userlevel lists.
Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:27:07 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +70 -24
lines
Pull up to last week's -current.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Oct 22 20:59:08 1999 UTC (25 years, 1 month ago) by is
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
comdex-fall-1999-base,
comdex-fall-1999
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +70 -24
lines
Implement positional -C argument to tar.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Mar 3 18:06:52 1999 UTC (25 years, 9 months ago) by christos
Branches: MAIN
CVS tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4
Branch point for: wrstuden-devbsize
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +104 -31
lines
Add SIGINFO support.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Nov 4 19:40:13 1998 UTC (26 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +8 -4
lines
Fix problem compiling when NET2_STAT is defined.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Nov 4 19:37:56 1998 UTC (26 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -6
lines
make printf formats conservative
Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Aug 10 22:34:59 1998 UTC (26 years, 4 months ago) by tv
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -4
lines
Transparently handle old-style GNU tar archives that may have garbage in
the trailing block and do not have an end-of-archive marker. (Does this
handling based on whether the ustar id is "ustar" or "ustar ".)
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Jul 27 16:43:25 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +7 -7
lines
__AUDIT__ cleanup.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Mar 6 09:13:01 1998 UTC (26 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +30 -2
lines
- implement -C and -l for pax-as-tar, as inspried by GNU tar.
- minor cleanups to the options parsing code.
- add a cpio frontend.
note: a few GNU/svr4 cpio options are not supported yet (#ifdef
notyet), however all x/open ones are.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Jul 20 20:32:15 1997 UTC (27 years, 5 months ago) by christos
Branches: MAIN
CVS tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
netbsd-1-3
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +32 -22
lines
- Rename local warn so tty_warn that we can include <err.h> since this program
uses err() and errx().
- Fix printf format strings.
- Added WARNS=1; note
- Added missing prototypes.
- Split overloaded trail function into trail() and subtrail().
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Jan 11 02:06:32 1997 UTC (27 years, 11 months ago) by tls
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +15 -15
lines
kill 'register'
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Mar 26 23:54:13 1996 UTC (28 years, 8 months ago) by mrg
Branches: MAIN
CVS tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA,
netbsd-1-2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +72 -2
lines
impliment -z (gzip) in pax and tar, and -Z (compress) in tar.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Mar 21 09:07:04 1995 UTC (29 years, 9 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +7 -2
lines
convert to new RCS id conventions.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Jun 14 00:40:58 1994 UTC (30 years, 6 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-0-base,
netbsd-1-0-RELEASE,
netbsd-1-0-PATCH1,
netbsd-1-0-PATCH06,
netbsd-1-0-PATCH05,
netbsd-1-0-PATCH04,
netbsd-1-0-PATCH03,
netbsd-1-0-PATCH02,
netbsd-1-0-PATCH0,
netbsd-1-0
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -1
lines
Fix up RCS ids.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Jun 13 16:33:36 1994 UTC (30 years, 6 months ago) by jtc
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1
lines
Add RCS ID's
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Jun 13 16:13:36 1994 UTC (30 years, 6 months ago) by jtc
Branches: CSRG
CVS tags: lite-2,
lite-1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
From 4.4 lite
Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Jun 13 16:13:35 1994 UTC (30 years, 6 months ago) by jtc
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>