This commit is contained in:
albert 2002-10-02 00:33:56 +00:00
parent bbdb12e639
commit 7b1aebf7c4
4 changed files with 5 additions and 1 deletions

View File

@ -224,7 +224,7 @@ open_again:
default: _exit(101);
case EACCES: /* somebody screwing around? */
/* FIXME: set a flag to disable symbol lookup? */
case ENOENT: /* no module support */
case ENOENT:; /* no module support */
}
goto hell;
}

View File

@ -327,6 +327,7 @@ static void show_forest(const int n){
}
show_tree(i,n,0,0);
not_root:
;
}
/* don't free the array because it takes time and ps will exit anyway */
}
@ -379,6 +380,7 @@ int main(int argc, char *argv[]){
case SIGKILL: /* can not catch */
case SIGSTOP: /* can not catch */
case SIGWINCH: /* don't care if window size changes */
;
}
} while (0);
#endif

View File

@ -699,6 +699,7 @@ static const char *grab_gnu_arg(void){
if(*++flagptr) return flagptr; /* found it */
return NULL; /* empty '=' or ':' */
case '\0': /* try next argv[] */
;
}
if(thisarg+2 > ps_argc) return NULL; /* there is nothing left */
/* argument follows ps_argv[thisarg] */

View File

@ -140,6 +140,7 @@ static const char *aix_format_parse(sf_node *sfn){
if(c) goto initial;
return "Improper AIX field descriptor.";
looks_ok:
;
}
/*** sanity check passed ***/