← Commit list

73116311e

Glenn L McGrath
Glenn L McGrath
2003-09-15
FAILED Duration: 83s

Subject

Fix for the sed-append-next-line test

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 →

editors/sed.c+5 -0
@@ -1001,6 +1001,11 @@ static void process_file(FILE * file)
strcat(pattern_space, next_line);
next_line = bb_get_chomped_line_from_file(file);
linenum++;
+ } else {
+ /* Jump to end of script and exist */
+ deleted = 1;
+ free(next_line);
+ next_line = NULL;
}
break;
case 't':