Date: Sat, 25 Aug 2007 04:19: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 bsdtar.h util.c write.c Message-ID: <200708250419.l7P4JuMM086941@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kientzle 2007-08-25 04:19:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar bsdtar.h util.c write.c Log: MFC generic path comparisons. There was some old code to ignore leading "./" that was there to allow us to compare path names with strcmp(). Comparing pathnames syntactically is a bit more complex than that, so encapsulate it in a new utility function and use that instead. Revision Changes Path 1.23.2.4 +1 -0 src/usr.bin/tar/bsdtar.h 1.13.2.3 +39 -4 src/usr.bin/tar/util.c 1.41.2.10 +1 -4 src/usr.bin/tar/write.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708250419.l7P4JuMM086941>