diff options
author | Ron Yorston <rmy@pobox.com> | 2019-03-12 14:41:49 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2019-03-12 14:41:49 +0000 |
commit | 0a058590010129557bdb9abd26d338297a21f10e (patch) | |
tree | 92a127d160a30824d2f9f191c8481d15e82e5984 /archival/tar.c | |
parent | fd0e6a01a68047e959ef13f3161ce302b438d2b1 (diff) | |
download | busybox-w32-0a058590010129557bdb9abd26d338297a21f10e.tar.gz busybox-w32-0a058590010129557bdb9abd26d338297a21f10e.tar.bz2 busybox-w32-0a058590010129557bdb9abd26d338297a21f10e.zip |
win32: fix POSIX build (again)
Some faulty logic with ENABLE_FEATURE_EXTRA_FILE_DATA broke the
POSIX build.
Diffstat (limited to 'archival/tar.c')
-rw-r--r-- | archival/tar.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/archival/tar.c b/archival/tar.c index 3375d1fe9..54961ff07 100644 --- a/archival/tar.c +++ b/archival/tar.c | |||
@@ -535,8 +535,10 @@ static int FAST_FUNC writeFileToTarball(const char *fileName, struct stat *statb | |||
535 | * the new tarball */ | 535 | * the new tarball */ |
536 | if (tbInfo->tarFileStatBuf.st_dev == statbuf->st_dev | 536 | if (tbInfo->tarFileStatBuf.st_dev == statbuf->st_dev |
537 | && tbInfo->tarFileStatBuf.st_ino == statbuf->st_ino | 537 | && tbInfo->tarFileStatBuf.st_ino == statbuf->st_ino |
538 | # if ENABLE_FEATURE_EXTRA_FILE_DATA | ||
538 | /* ignore invalid inode numbers */ | 539 | /* ignore invalid inode numbers */ |
539 | && (ENABLE_FEATURE_EXTRA_FILE_DATA && statbuf->st_ino != 0) | 540 | && statbuf->st_ino != 0 |
541 | # endif | ||
540 | ) { | 542 | ) { |
541 | bb_error_msg("%s: file is the archive; skipping", fileName); | 543 | bb_error_msg("%s: file is the archive; skipping", fileName); |
542 | return TRUE; | 544 | return TRUE; |