Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 361344 Details for
Bug 488626
=xfce-extra/xfce4-taskmanager-1.0.0 - Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
xfce4-taskmanager-Invalid_UTF-8_string.patch
xfce4-taskmanager-Invalid_UTF-8_string.patch (text/plain), 606 bytes, created by
Mikhail Kurinnoi
on 2013-10-19 17:52:16 UTC
(
hide
)
Description:
xfce4-taskmanager-Invalid_UTF-8_string.patch
Filename:
MIME Type:
Creator:
Mikhail Kurinnoi
Created:
2013-10-19 17:52:16 UTC
Size:
606 bytes
patch
obsolete
>--- ./src/task-manager-linux.c.orig >+++ ./src/task-manager-linux.c >@@ -128,7 +128,7 @@ > FILE *file; > gchar filename[96]; > gint i; >- gchar c; >+ gint c; > > snprintf (filename, 96, "/proc/%i/cmdline", task->pid); > if ((file = fopen (filename, "r")) == NULL) >@@ -136,7 +136,7 @@ > > /* Read full command byte per byte until EOF */ > for (i = 0; (c = fgetc (file)) != EOF && i < (gint)sizeof (task->cmdline) - 1; i++) >- task->cmdline[i] = (c == '\0') ? ' ' : c; >+ task->cmdline[i] = (c == '\0') ? ' ' : (gchar)c; > task->cmdline[i] = '\0'; > if (task->cmdline[i-1] == ' ') > task->cmdline[i-1] = '\0'; >
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 488626
: 361344