display problem on 64-bit systems fixed
This commit is contained in:
parent
10ac32d68e
commit
0fb81f5c39
1
NEWS
1
NEWS
@ -1,5 +1,6 @@
|
||||
procps-3.2.4 --> procps-3.2.5
|
||||
|
||||
display problem on 64-bit systems fixed
|
||||
ps: security labels can contain any printable ASCII
|
||||
top: help and version message on stdout, with exit(0) #283541
|
||||
ps: SIGTSTP from ^Z shouldn't print bug email address
|
||||
|
@ -159,7 +159,7 @@ int escape_str(char *restrict dst, const char *restrict src, int bufsize, int *m
|
||||
// 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(;;){
|
||||
|
@ -12,7 +12,7 @@ EXTERN_C_BEGIN
|
||||
#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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user