freebsd-dev/usr.bin/tar
Tim Kientzle 0f4b98311a Strip leading "./" or ".//" from patterns and filenames
so that "./foo" matches "foo" (and vice versa).

This is related to PR bin/119141.

PR:		bin/119141
MFC after:	4 days
2008-08-18 04:58:54 +00:00
..
test Test updates: Handling of patterns on command line, error messages. 2008-08-15 06:12:02 +00:00
bsdtar_platform.h Include a suitable stub definition of __FBSDID() for non-FreeBSD platforms. 2008-01-02 00:23:00 +00:00
bsdtar.1 - Fix mtree example so it works. 2008-07-26 17:22:40 +00:00
bsdtar.c MFp4: bsdtar 2.5.4b 2008-05-26 17:10:10 +00:00
bsdtar.h Mark functions as __dead2 in order to help the LLVM static checker 2008-08-04 01:25:48 +00:00
config_freebsd.h Remove HAVE_STRUCT_STAT_ST_RDEV, as it's not used anywhere. 2008-07-05 02:09:13 +00:00
COPYING Include Guido's copyright for the fnmatch() code I cribbed from. 2008-01-02 00:19:49 +00:00
getdate.y Fill in some casts that are needed (according to GCC 4.1) 2007-07-20 01:27:50 +00:00
Makefile FreeBSD-CURRENT bsdtar is synched up with libarchive-portable 2.5.5. 2008-07-05 02:09:54 +00:00
matching.c Strip leading "./" or ".//" from patterns and filenames 2008-08-18 04:58:54 +00:00
read.c Use %H:%M for strftime() time formatting instead of the non-portable %R. 2008-07-05 02:05:55 +00:00
siginfo.c Improve portability via s/struct siginfo/struct siginfo_data/. This was 2008-05-22 21:08:36 +00:00
subst.c MfP4: Minor portability fix. 2008-06-15 10:08:16 +00:00
tree.c bsdtar 2.0.23: 2007-03-11 10:36:42 +00:00
tree.h Correct the copyright messages: Make this a standard vanilla 2007-01-09 08:12:17 +00:00
util.c Rework code to avoid using a pointer after freeing it. Aside from the 2008-06-09 14:03:55 +00:00
write.c Move duplicated code from tar_mode_[cru] into archive_write. 2008-07-05 08:10:55 +00:00