[BusyBox] tar problems (once again)
Michael Sternberg
michael at dragon.boscom.com
Mon Jan 13 01:09:03 UTC 2003
Latest CVS busybox (Jan 13 08:24).
PPC platform (MPC860).
libc.so.6
CONFIG_TAR=y
CONFIG_FEATURE_TAR_CREATE=y
# CONFIG_FEATURE_TAR_BZIP2 is not set
# CONFIG_FEATURE_TAR_EXCLUDE is not set
CONFIG_FEATURE_TAR_GZIP=y
# CONFIG_FEATURE_TAR_OLD_FORMAT is not set
CONFIG_FEATURE_GNUTAR_LONG_FILENAME=y
~> touch test.txt
~> tar zcvf x.tar.gz test.txt
~> echo $?
0
~> tar ztvf x.tar.gz
-rw-r--r-- 0/0 0 2003-01-13 09:50:21 test.txt
tar: Short read
~> echo $?
1
~> rm -f test.txt
~> tar zxvf x.tar.gz
test.txt
tar: Short read
~> ls -l test.txt
-rw-r--r-- 1 root root 0 Jan 13 10:05 test.txt
As you see the problem is in return
value and the wrong output.
--
More information about the busybox
mailing list