← Commit list

176f2df69

Rob Landley
Rob Landley
2006-06-08
SOURCE BUG Duration: 48s

Subject

Patch from Erik Hovland, via Tito.

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 →

miscutils/devfsd.c+2 -2
@@ -1311,9 +1311,9 @@ static const char *get_variable (const char *variable, void *info)
/* compare_string_array returns i>=0 */
i=compare_string_array(field_names, variable);
- if ( i > 6 && (i > 1 && gv_info == NULL))
+ if ( i > 6 || i < 0 || (i > 1 && gv_info == NULL))
return (NULL);
- if( i >= 0 || i <= 3)
+ if( i >= 0 && i <= 3)
{
debug_msg_logger(LOG_INFO, "%s: i=%d %s", __FUNCTION__, i ,field_names[i+7]);
return(field_names[i+7]);