diff options
Diffstat (limited to 'xfce-extra/xfce4-taskmanager/files/xfce4-taskmanager-1.0.0-UTF-8.patch')
-rw-r--r-- | xfce-extra/xfce4-taskmanager/files/xfce4-taskmanager-1.0.0-UTF-8.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/xfce-extra/xfce4-taskmanager/files/xfce4-taskmanager-1.0.0-UTF-8.patch b/xfce-extra/xfce4-taskmanager/files/xfce4-taskmanager-1.0.0-UTF-8.patch deleted file mode 100644 index a43e77f85f5c..000000000000 --- a/xfce-extra/xfce4-taskmanager/files/xfce4-taskmanager-1.0.0-UTF-8.patch +++ /dev/null @@ -1,24 +0,0 @@ -http://bugs.gentoo.org/488626 -http://bugzilla.xfce.org/show_bug.cgi?id=10417 - ---- src/task-manager-linux.c -+++ 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'; - |