diff options
author | Matt Kraai <kraai@debian.org> | 2001-05-22 14:18:03 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2001-05-22 14:18:03 +0000 |
commit | 7f7348b7b2ae134d1e958c04b3123b573dec8b70 (patch) | |
tree | a7f69bf3858ef3bee7e252e04487aef364a2e857 /archival/tar.c | |
parent | 1d9d41150bea7e89a881eeee7f71f88ae1fc2381 (diff) |
Correctly remove leading slashes upon extraction (thanks to Marius Groeger).
Diffstat (limited to 'archival/tar.c')
-rw-r--r-- | archival/tar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/tar.c b/archival/tar.c index 6af16f4bd..282656fe7 100644 --- a/archival/tar.c +++ b/archival/tar.c @@ -490,7 +490,7 @@ readTarHeader(struct TarHeader *rawHeader, struct TarInfo *header) static int alreadyWarned=FALSE; while (*(header->name) == '/') - ++*(header->name); + header->name++; if (alreadyWarned == FALSE) { error_msg("Removing leading '/' from member names"); |