Tim Kientzle d21d99e07e Reading an mtree file is supposed to provide
access to the file data (if the file exists on
disk).  This was broken for the first regular
file; fix it and add a test so it won't break again.

In particular, this fixes the following idiom for creating
a tar archive in which every file is owned by root:

tar cf - --format=mtree . 	\
    | sed -e 's/uname=[a-z]*/uname=root/' -e 's/uid=[0-9]*/uid=0/' \
    | tar cf - @-
2009-04-26 18:57:50 +00:00
..
2008-12-23 22:50:39 +00:00
2009-04-26 10:12:20 +00:00
2009-03-22 01:24:32 +00:00
2009-03-24 22:35:05 +00:00
2009-04-05 18:30:24 +00:00