Fix for the sed-append-next-line test
This commit is contained in:
parent
65f9dc01f3
commit
73116311e5
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user