← Commit list

d05981eaf

Rob Landley
Rob Landley
2006-02-14
SOURCE BUG Duration: 3s

Subject

Fix off by one error. (I know I had a reason for doing that, but I have _no_ idea what it was...)

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 (Debian 14.2.0-19) 14.2.0

—

Build Log

(log yok)

Commit Diff GitHub →

util-linux/switch_root.c+1 -1
@@ -118,6 +118,6 @@ int switch_root_main(int argc, char *argv[])
}
// Exec real init. (This is why we must be pid 1.)
- execv(argv[optind],argv+optind+1);
+ execv(argv[optind],argv+optind);
bb_error_msg_and_die("Bad init '%s'",argv[optind]);
}