← Commit list

a4d45d423

Rob Landley
Rob Landley
2005-10-16
SOURCE BUG Duration: 7s

Subject

The fact "tar tvjf thing.tbz" didn't work was due to the "-1" in -r11859, which was apparently never tested. That meant that there always had to be at least one unparsed argument left over, which is not the case for tar.

SOURCE BUG

This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)

→ Bu hatanin tam hikayesini ve duzeltme diffini gor

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

archival/tar.c+2 -2
@@ -688,8 +688,8 @@ int tar_main(int argc, char **argv)
/* Prepend '-' to the first argument if required */
bb_opt_complementally = ENABLE_FEATURE_TAR_CREATE ?
- "--:-1:X::T::\n::c:t:x:?:c--tx:t--cx:x--ct" :
- "--:-1:X::T::\n::t:x:?:t--x:x--t";
+ "--:X::T::\n::c:t:x:?:c--tx:t--cx:x--ct" :
+ "--:X::T::\n::t:x:?:t--x:x--t";
if (ENABLE_FEATURE_TAR_LONG_OPTIONS)
bb_applet_long_options = tar_long_options;
opt = bb_getopt_ulflags(argc, argv, tar_options,