← Commit list

992a58c21

Mike Frysinger
Mike Frysinger
2006-02-22
SOURCE BUG Duration: 3s

Subject

document leading + option

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 →

libbb/getopt_ulflags.c+7 -0
@@ -69,6 +69,13 @@ bb_getopt_ulflags (int argc, char **argv, const char *applet_opts, ...)
by the "::" special separator that is set in the external string
bb_opt_complementally (see below for more info).
+ "+" If the first character in the applet_opts string is a plus,
+ then option processing will stop as soon as a non-option is
+ encountered in the argv array. Useful for applets like env
+ which should not process arguments to subprograms:
+ env -i ls -d /
+ Here we want env to process just the '-i', not the '-d'.
+
static const struct option bb_default_long_options[]
This struct allows you to define long options. The syntax for