diff options
author | 2006-06-21 19:54:30 +1000 | |
---|---|---|
committer | 2006-06-21 19:54:30 +1000 | |
commit | 3ddd5e59810d0d1642a061a6342811a8be7a5251 (patch) | |
tree | db8ed435f7a584c3c8643445c17c95b4f7c04734 /proc.c | |
parent | b016438c08877cb3b24808d260397a8aa8fe49ce (diff) |
Check exit status of close and fclose in a few extra places
darcs-hash:20060621095430-ac50b-52afcee91b856f706d6df6bcf2e3a6bc7d746e40.gz
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -695,6 +695,10 @@ unsigned long proc_get_jiffies( process_t *p ) { return 0; } + + /* + Don't need to check exit status of fclose on read-only streams + */ fclose( f ); return utime+stime+cutime+cstime; |