← Commit list

8d3c40d49

"Vladimir N. Oleynik"
"Vladimir N. Oleynik"
2005-09-16
SOURCE BUG Duration: 5s

Subject

more C-compatibily, Thanks Bernhard Fischer

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/less.c+2 -1
@@ -670,9 +670,10 @@ static char *process_regex_on_line(char *line, regex_t *pattern) {
char *line2 = (char *) malloc((sizeof(char) * (strlen(line) + 1)) + 64);
char sub_line[256];
int prev_eo = 0;
+ regmatch_t match_structs;
+
memset(sub_line, 0, 256);
strcpy(line2, line);
- regmatch_t match_structs;
match_found = 0;
match_status = regexec(pattern, line2, 1, &match_structs, 0);