← Commit list

12c2429a4

Rob Landley
Rob Landley
2006-03-01
SOURCE BUG Duration: 19s

Subject

Fixup to make warnings from the last patch go away.

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/ifupdown.c+5 -5
@@ -1356,15 +1356,15 @@ extern int ifupdown_main(int argc, char **argv)
} else {
/* Remove an interface from the linked list */
if (iface_state) {
- const llist_t *link = iface_state->link;
+ llist_t *l = iface_state->link;
free(iface_state->data);
iface_state->data = NULL;
iface_state->link = NULL;
- if (link) {
- iface_state->data = link->data;
- iface_state->link = link->link;
+ if (l) {
+ iface_state->data = l->data;
+ iface_state->link = l->link;
}
- free(link);
+ free(l);
}
}
}