procps/ps
Sami Kerola 52269d22f3 all: check stdout and stderr status at exit
If stream status is not checked at the end of execution below problem
would not report error, or non-zero exit code.  The uptime is just an
example same was true with all commands of the project.

$ uptime >&- ; echo $?
uptime: write error: Bad file descriptor
1
$ uptime >/dev/full ; echo $?
uptime: write error: No space left on device
1

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-03-23 15:57:53 +01:00
..
common.h ps: fix compiler warnings 2012-03-03 18:36:29 +11:00
COPYING license: update FSF addresses 2012-03-04 08:04:24 +11:00
display.c all: check stdout and stderr status at exit 2012-03-23 15:57:53 +01:00
global.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
HACKING docs: remove old information from HACKING 2012-01-13 22:42:38 +01:00
help.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
Makefile.am all: check stdout and stderr status at exit 2012-03-23 15:57:53 +01:00
output.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
parser.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
ps.1 misc: update remaining memory references to IEC standard 2012-03-16 07:06:58 +11:00
regression procps 010114 2002-02-01 22:47:29 +00:00
select.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
sortformat.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
stacktrace.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00