diff options
author | kientzle <kientzle@FreeBSD.org> | 2009-04-26 18:57:50 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2009-04-26 18:57:50 +0000 |
commit | 59019e8516a585542319c3d3a058f97468157f38 (patch) | |
tree | b4a7f93e145d7ca36b772083b91b87cceb8cbfd1 /sys/netinet/ip_carp.c | |
parent | 46f05636f646702fc3211002ea6cb863ea32b00f (diff) | |
download | FreeBSD-src-59019e8516a585542319c3d3a058f97468157f38.zip FreeBSD-src-59019e8516a585542319c3d3a058f97468157f38.tar.gz |
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 - @-
Diffstat (limited to 'sys/netinet/ip_carp.c')
0 files changed, 0 insertions, 0 deletions