Patch from Bernhard Fischer to remove some useless bits.
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)
No binary (build failed)
—
(log yok)
| @@ -506,7 +506,6 @@ int ipaddr_list_or_flush(int argc, char **argv, int flush) | |
| } | |
| if (flush) { | |
| - | int round = 0; |
| char flushb[4096-512]; | |
| filter.flushb = flushb; | |
| @@ -525,14 +524,9 @@ int ipaddr_list_or_flush(int argc, char **argv, int flush) | |
| exit(1); | |
| } | |
| if (filter.flushed == 0) { | |
| - | #if 0 |
| - | if (round == 0) |
| - | fprintf(stderr, "Nothing to flush.\n"); |
| - | #endif |
| fflush(stdout); | |
| return 0; | |
| } | |
| - | round++; |
| if (flush_update() < 0) | |
| exit(1); | |
| } | |
| @@ -588,7 +588,6 @@ static int iproute_list_or_flush(int argc, char **argv, int flush) | |
| } | |
| if (flush) { | |
| - | int _round = 0; |
| char flushb[4096-512]; | |
| if (filter.tb == -1) { | |
| @@ -614,14 +613,9 @@ static int iproute_list_or_flush(int argc, char **argv, int flush) | |
| return -1; | |
| } | |
| if (filter.flushed == 0) { | |
| - | if (_round == 0) { |
| - | if (filter.tb != -1 || do_ipv6 == AF_INET6) |
| - | fprintf(stderr, "Nothing to flush.\n"); |
| - | } |
| fflush(stdout); | |
| return 0; | |
| } | |
| - | _round++; |
| if (flush_update() < 0) | |
| exit(1); | |
| } | |