FreeBSD Bugzilla – Attachment 175985 Details for
Bug 213474
sed behavior change with a/i/c operands.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Add a CFLAG to re-enable FreeBSD 10 behavior
sed-fbsd10-compat.diff (text/plain), 455 bytes, created by
Pedro F. Giffuni
on 2016-10-20 16:35:42 UTC
(
hide
)
Description:
Add a CFLAG to re-enable FreeBSD 10 behavior
Filename:
MIME Type:
Creator:
Pedro F. Giffuni
Created:
2016-10-20 16:35:42 UTC
Size:
455 bytes
patch
obsolete
>Index: usr.bin/sed/compile.c >=================================================================== >--- usr.bin/sed/compile.c (revision 307676) >+++ usr.bin/sed/compile.c (working copy) >@@ -746,6 +746,9 @@ > while (cu_fgets(lbuf, sizeof(lbuf), NULL) != NULL) { > op = s = text + size; > p = lbuf; >+#ifdef LEGACY_BSDSED_COMPAT >+ EATSPACE(); >+#endif > for (esc_nl = 0; *p != '\0'; p++) { > if (*p == '\\' && p[1] != '\0' && *++p == '\n') > esc_nl = 1;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 213474
:
175892
| 175985