← Commit list

038016691

Mike Frysinger
Mike Frysinger
2006-02-07
SOURCE BUG Duration: 2s

Subject

space out supported applet names so the config list doesnt wrap on an 80col terminal

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 →

docs/autodocifier.pl+6 -5
@@ -155,14 +155,15 @@ foreach (@ARGV) {
my $generator = \&pod_for_usage;
my @names = sort keys %docs;
-print "\t[, [[, ";
+my $line = "\t[, [[, ";
for (my $i = 0; $i < $#names; $i++) {
- if (($i + 2) % 8 == 0) {
- print "\n\t";
+ if (length ($line.$names[$i]) >= 65) {
+ print "$line\n\t";
+ $line = "";
}
- print "$names[$i], ";
+ $line .= "$names[$i], ";
}
-print $names[-1];
+print $line . $names[-1];
print "\n\n=head1 COMMAND DESCRIPTIONS\n";
print "\n=over 4\n\n";