mirror of
https://github.com/sheumann/hush.git
synced 2024-12-25 18:33:06 +00:00
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