diff options
Diffstat (limited to 'sys-apps/procps/files/3.2.4-64bit-display.patch')
-rw-r--r-- | sys-apps/procps/files/3.2.4-64bit-display.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sys-apps/procps/files/3.2.4-64bit-display.patch b/sys-apps/procps/files/3.2.4-64bit-display.patch new file mode 100644 index 000000000000..aca21f6de8f5 --- /dev/null +++ b/sys-apps/procps/files/3.2.4-64bit-display.patch @@ -0,0 +1,34 @@ +Index: proc/escape.c +=================================================================== +RCS file: /cvsroot/procps/procps/proc/escape.c,v +retrieving revision 1.5 +retrieving revision 1.6 +diff -u -r1.5 -r1.6 +--- proc/escape.c 4 Nov 2004 20:50:59 -0000 1.5 ++++ proc/escape.c 5 Jan 2005 21:11:21 -0000 1.6 +@@ -159,7 +159,7 @@ + // escape an argv or environment string array + // + // bytes arg means sizeof(buf) +-int escape_strlist(char *restrict dst, const char *restrict const *restrict src, size_t bytes, size_t *cells){ ++int escape_strlist(char *restrict dst, const char *restrict const *restrict src, size_t bytes, int *cells){ + size_t i = 0; + + for(;;){ +Index: proc/escape.h +=================================================================== +RCS file: /cvsroot/procps/procps/proc/escape.h,v +retrieving revision 1.4 +retrieving revision 1.5 +diff -u -r1.4 -r1.5 +--- proc/escape.h 4 Nov 2004 20:50:59 -0000 1.4 ++++ proc/escape.h 5 Jan 2005 21:11:21 -0000 1.5 +@@ -12,7 +12,7 @@ + #define ESC_BRACKETS 0x2 // if using cmd, put '[' and ']' around it + #define ESC_DEFUNCT 0x4 // mark zombies with " <defunct>" + +-extern int escape_strlist(char *restrict dst, const char *restrict const *restrict src, size_t n, size_t *cells); ++extern int escape_strlist(char *restrict dst, const char *restrict const *restrict src, size_t n, int *cells); + extern int escape_str(char *restrict dst, const char *restrict src, int bufsize, int *maxcells); + extern int escape_command(char *restrict const outbuf, const proc_t *restrict const pp, int bytes, int *cells, unsigned flags); + |