← Commit list

a0f75e2bb

Bernhard Reutner-Fischer
Bernhard Reutner-Fischer
2006-04-03
SOURCE BUG Duration: 18s

Subject

- use bb_opt_complementally; Saves another 14 bytes. (thanks again, vodz)

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 →

networking/arping.c+5 -4
@@ -279,13 +279,14 @@ int arping_main(int argc, char **argv)
{
unsigned long opt;
char *_count, *_timeout, *_device;
+
+ /* Dad also sets quit_on_reply.
+ * Advert also sets unsolicited.
+ */
+ bb_opt_complementally = "Df:AU";
opt = bb_getopt_ulflags(argc, argv, "DUAqfbc:w:i:s:",
&_count, &_timeout, &_device);
cfg |= opt & 63; /* set respective flags */
- if (opt & 1) /* Dad also sets quit_on_reply */
- cfg |= quit_on_reply;
- if (opt & 4) /* Advert also sets unsolicited */
- cfg |= unsolicited;
if (opt & 64) /* count */
count = atoi(_count);
if (opt & 128) /* timeout */