Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 247502 Details for
Bug 337329
app-shells/dash: echo \\1...\\7 wrongly shows an octal sequence
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
dash-echo-octal.patch
dash-echo-octal.patch (text/plain), 397 bytes, created by
SpanKY
on 2010-09-15 18:50:01 UTC
(
hide
)
Description:
dash-echo-octal.patch
Filename:
MIME Type:
Creator:
SpanKY
Created:
2010-09-15 18:50:01 UTC
Size:
397 bytes
patch
obsolete
>diff --git a/src/bltin/printf.c b/src/bltin/printf.c >index b0c3774..106c886 100644 >--- a/src/bltin/printf.c >+++ b/src/bltin/printf.c >@@ -261,6 +261,11 @@ conv_escape_str(char *str) > } while (--i); > continue; > } >+ if (ch >= '0' && ch <= '9') { >+ ch = '\\'; >+ --str; >+ continue; >+ } > > /* Finally test for sequences valid in the format string */ > str = conv_escape(str - 1, &c);
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 337329
:
247318
|
247320
|
247500
|
247502
|
247514