← Commit list

6ced427a6

Rob Landley
Rob Landley
2006-08-03
SOURCE BUG Duration: 30s

Subject

Try to make a "type-punned pointer" warning go away for somebody on the buildroot list.

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 →

modutils/lsmod.c+2 -3
@@ -93,8 +93,7 @@ int lsmod_main(int argc, char **argv)
size_t bufsize, depsize, nmod, count, i, j;
module_names = xmalloc(bufsize = 256);
- if (my_query_module(NULL, QM_MODULES, (void **)&module_names, &bufsize,
- &nmod)) {
+ if (my_query_module(NULL, QM_MODULES, &module_names, &bufsize, &nmod)) {
bb_perror_msg_and_die("QM_MODULES");
}
@@ -111,7 +110,7 @@ int lsmod_main(int argc, char **argv)
/* else choke */
bb_perror_msg_and_die("module %s: QM_INFO", mn);
}
- if (my_query_module(mn, QM_REFS, (void **)&deps, &depsize, &count)) {
+ if (my_query_module(mn, QM_REFS, &deps, &depsize, &count)) {
if (errno == ENOENT) {
/* The module was removed out from underneath us. */
continue;