mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Fix an ages-old bug in sed(1), which resulted in the absolutely valid
substitution expressions in the form `s,[fooexp],[barexp],;...' treated as invalid when the third `,' is (_POSIX2_LINE_MAX * N)-th character in the line. MFC after: 2 weeks
This commit is contained in:
parent
60f2606a7d
commit
efaed24f7d
1 changed files with 1 additions and 1 deletions
|
|
@ -467,7 +467,7 @@ compile_subst(p, s)
|
|||
int asize, size;
|
||||
u_char ref;
|
||||
char c, *text, *op, *sp;
|
||||
int more = 0;
|
||||
int more = 1;
|
||||
|
||||
c = *p++; /* Terminator character */
|
||||
if (c == '\0')
|
||||
|
|
|
|||
Loading…
Reference in a new issue