FreeBSD Bugzilla – Attachment 174328 Details for
Bug 195792
awk mishandles [[:cntrl:]]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Skip NUL to avoid preemptive truncation
patch-contrib_one-true-awk_b.c (text/plain), 613 bytes, created by
kd-dev
on 2016-09-02 22:53:05 UTC
(
hide
)
Description:
Skip NUL to avoid preemptive truncation
Filename:
MIME Type:
Creator:
kd-dev
Created:
2016-09-02 22:53:05 UTC
Size:
613 bytes
patch
obsolete
>Index: contrib/one-true-awk/b.c >=================================================================== >--- contrib/one-true-awk/b.c (revision 305306) >+++ contrib/one-true-awk/b.c (working copy) >@@ -841,7 +841,7 @@ > if (cc->cc_name != NULL && prestr[1 + cc->cc_namelen] == ':' && > prestr[2 + cc->cc_namelen] == ']') { > prestr += cc->cc_namelen + 3; >- for (i = 0; i < NCHARS; i++) { >+ for (i = 1; i < NCHARS; i++) { > if (!adjbuf((char **) &buf, &bufsz, bp-buf+1, 100, (char **) &bp, "relex2")) > FATAL("out of space for reg expr %.10s...", lastre); > if (cc->cc_func(i)) {
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 195792
: 174328