Date: Sun, 17 Apr 2005 17:20:55 +0000 (UTC) From: Tim Kientzle <kientzle@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/tar Makefile bsdtar.c bsdtar.h read.c util.c write.c Message-ID: <200504171720.j3HHKtnQ084708@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kientzle 2005-04-17 17:20:55 UTC FreeBSD src repository Modified files: usr.bin/tar Makefile bsdtar.c bsdtar.h read.c util.c write.c Log: Support path-rewriting options (including --strip-components) for both extraction and creation. While I'm here, fix a bug reported by Garrett Wollman: when stripping the leading '/' from the path "/", don't produce an entry with an empty name; produce "." instead. Revision Changes Path 1.20 +1 -1 src/usr.bin/tar/Makefile 1.62 +2 -2 src/usr.bin/tar/bsdtar.c 1.23 +1 -0 src/usr.bin/tar/bsdtar.h 1.23 +41 -60 src/usr.bin/tar/read.c 1.12 +53 -0 src/usr.bin/tar/util.c 1.38 +17 -27 src/usr.bin/tar/write.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504171720.j3HHKtnQ084708>