← Commit list

a901b4046

Bernhard Reutner-Fischer
Bernhard Reutner-Fischer
2006-01-19
SOURCE BUG Duration: 9s

Subject

- missing bits of patch attached to bug #249 (constify).

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/interface.c+2 -2
@@ -1038,7 +1038,7 @@ static char *get_name(char *name, char *p)
* old approach of multiple scanf occurrences with large numbers of
* args. */
-/* static const char *ss_fmt[] = { */
+/* static const char * const ss_fmt[] = { */
/* "%Ln%Lu%lu%lu%lu%lu%ln%ln%Ln%Lu%lu%lu%lu%lu%lu", */
/* "%Lu%Lu%lu%lu%lu%lu%ln%ln%Lu%Lu%lu%lu%lu%lu%lu", */
/* "%Lu%Lu%lu%lu%lu%lu%lu%lu%Lu%Lu%lu%lu%lu%lu%lu%lu" */
@@ -1359,7 +1359,7 @@ static int do_if_fetch(struct interface *ife)
/* This structure defines hardware protocols and their handlers. */
struct hwtype {
- const char *name;
+ const char * const name;
const char *title;
int type;
int alen;