Author: brian
Date: Sun Sep 19 11:16:49 2010
New Revision: 212848
URL: http://svn.freebsd.org/changeset/base/212848
Log:
MFC r211864,211963,211964,211965, don't mis-handle path names of
101 characters beginning with '/'.
Added:
stable/8/tools/regression/bin/Makefile
- copied unchanged from r211964, head/tools/regression/bin/Makefile
stable/8/tools/regression/bin/pax/
- copied from r211963, head/tools/regression/bin/pax/
Modified:
stable/8/bin/pax/pax.1
stable/8/bin/pax/tar.c
stable/8/tools/regression/bin/pax/Makefile
Directory Properties:
stable/8/bin/pax/ (props changed)
stable/8/tools/ (props changed)
stable/8/tools/build/mk/ (props changed)
stable/8/tools/build/options/ (props changed)
stable/8/tools/debugscripts/ (props changed)
stable/8/tools/kerneldoc/subsys/ (props changed)
stable/8/tools/regression/acltools/ (props changed)
stable/8/tools/regression/aio/aiotest/ (props changed)
stable/8/tools/regression/bin/sh/ (props changed)
stable/8/tools/regression/fifo/ (props changed)
stable/8/tools/regression/geom/ (props changed)
stable/8/tools/regression/lib/libc/ (props changed)
stable/8/tools/regression/lib/msun/test-conj.t (props changed)
stable/8/tools/regression/mqueue/mqtest1/ (props changed)
stable/8/tools/regression/mqueue/mqtest2/ (props changed)
stable/8/tools/regression/mqueue/mqtest3/ (props changed)
stable/8/tools/regression/mqueue/mqtest4/ (props changed)
stable/8/tools/regression/mqueue/mqtest5/ (props changed)
stable/8/tools/regression/poll/ (props changed)
stable/8/tools/regression/posixsem/ (props changed)
stable/8/tools/regression/priv/ (props changed)
stable/8/tools/regression/usr.bin/ (props changed)
stable/8/tools/regression/usr.bin/pkill/pgrep-_g.t (props changed)
stable/8/tools/regression/usr.bin/pkill/pgrep-_s.t (props changed)
stable/8/tools/regression/usr.bin/pkill/pkill-_g.t (props changed)
stable/8/tools/regression/usr.bin/sed/ (props changed)
stable/8/tools/test/ (props changed)
stable/8/tools/tools/ath/ (props changed)
stable/8/tools/tools/ath/common/dumpregs.h (props changed)
stable/8/tools/tools/ath/common/dumpregs_5210.c (props changed)
stable/8/tools/tools/ath/common/dumpregs_5211.c (props changed)
stable/8/tools/tools/ath/common/dumpregs_5212.c (props changed)
stable/8/tools/tools/ath/common/dumpregs_5416.c (props changed)
stable/8/tools/tools/nanobsd/ (props changed)
stable/8/tools/tools/netrate/tcpp/ (props changed)
stable/8/tools/tools/termcap/termcap.pl (props changed)
stable/8/tools/tools/vimage/ (props changed)
Modified: stable/8/bin/pax/pax.1
==============================================================================
--- stable/8/bin/pax/pax.1 Sun Sep 19 10:54:58 2010 (r212847)
+++ stable/8/bin/pax/pax.1 Sun Sep 19 11:16:49 2010 (r212848)
@@ -33,7 +33,7 @@
.\" @(#)pax.1 8.4 (Berkeley) 4/18/94
.\" $FreeBSD$
.\"
-.Dd July 3, 2004
+.Dd August 29, 2010
.Dt PAX 1
.Os
.Sh NAME
@@ -748,7 +748,9 @@ The extended tar interchange format spec
.St -p1003.2
standard.
The default blocksize for this format is 10240 bytes.
-Pathnames stored by this format must be 250 characters or less in length.
+Pathnames stored by this format must be 255 characters or less in length.
+The directory part may be at most 155 characters and each path component
+must be less than 100 characters.
.El
.Pp
The
Modified: stable/8/bin/pax/tar.c
==============================================================================
--- stable/8/bin/pax/tar.c Sun Sep 19 10:54:58 2010 (r212847)
+++ stable/8/bin/pax/tar.c Sun Sep 19 11:16:49 2010 (r212848)
@@ -1086,7 +1086,7 @@ name_split(char *name, int len)
*/
if (len <= TNMSZ)
return(name);
- if (len > (TPFSZ + TNMSZ + 1))
+ if (len > TPFSZ + TNMSZ)
return(NULL);
/*
@@ -1095,7 +1095,7 @@ name_split(char *name, int len)
* to find the biggest piece to fit in the name field (or the smallest
* prefix we can find)
*/
- start = name + len - TNMSZ - 1;
+ start = name + len - TNMSZ;
while ((*start != '\0') && (*start != '/'))
++start;
Copied: stable/8/tools/regression/bin/Makefile (from r211964,
head/tools/regression/bin/Makefile)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ stable/8/tools/regression/bin/Makefile Sun Sep 19 11:16:49 2010
(r212848, copy of r211964, head/tools/regression/bin/Makefile)
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+SUBDIR= date mv pax sh
+
+.include <bsd.subdir.mk>
Modified: stable/8/tools/regression/bin/pax/Makefile
==============================================================================
--- head/tools/regression/bin/pax/Makefile Sun Aug 29 11:56:56 2010
(r211963)
+++ stable/8/tools/regression/bin/pax/Makefile Sun Sep 19 11:16:49 2010
(r212848)
@@ -1,6 +1,6 @@
# $FreeBSD$
-test:
+all test:
prove -vmw regress.t
clean:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"