← Commit list

d1b6078e5

"Vladimir N. Oleynik"
"Vladimir N. Oleynik"
2005-10-05
SOURCE BUG Duration: 13s

Subject

more correction for getopt_ulflags() documentation by author of this fuck logic

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 →

libbb/getopt_ulflags.c+6 -5
@@ -111,7 +111,8 @@ const char *bb_opt_complementally
found.
"ww" Adjacent double options have a counter associated which indicates
- the number of occurances of the option. For example the ps applet needs:
+ the number of occurances of the option.
+ For example the ps applet needs:
if w is given once, GNU ps sets the width to 132,
if w is given more than once, it is "unlimited"
@@ -170,11 +171,11 @@ Special characters:
convert the arguments as option.
For example:
- bb_opt_complementally = "-:w";
- bb_getopt_ulflags(argc, argv, "w");
+ bb_opt_complementally = "-:w-x:x-w";
+ bb_getopt_ulflags(argc, argv, "wx");
- Allows option 'w' to be given without a dash (./program w)
- as well as with a dash (./program -w).
+ Allows option 'w' to be given without a dash (./program w x)
+ as well as with a dash (./program -x).
"~" A tilde between two options, or between an option and a group
of options, means that they are mutually exclusive. Unlike