FreeBSD Bugzilla – Attachment 150103 Details for
Bug 195584
awk(1): [patch]: fix %c in awk's printf when printing a number near 0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix %c in awk's printf when printing a number near 0
awk.diff (text/plain), 342 bytes, created by
Christian Weisgerber
on 2014-12-02 20:44:45 UTC
(
hide
)
Description:
fix %c in awk's printf when printing a number near 0
Filename:
MIME Type:
Creator:
Christian Weisgerber
Created:
2014-12-02 20:44:45 UTC
Size:
342 bytes
patch
obsolete
>Index: run.c >=================================================================== >--- run.c (revision 275426) >+++ run.c (working copy) >@@ -918,7 +918,7 @@ > break; > case 'c': > if (isnum(x)) { >- if (getfval(x)) >+ if ((int)getfval(x)) > sprintf(p, fmt, (int) getfval(x)); > else { > *p++ = '\0'; /* explicit null byte */
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 195584
: 150103