You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
741 B
20 lines
741 B
6 years ago
|
--- time-1.7/time.c.verbose Fri Jun 14 05:38:21 1996
|
||
|
+++ time-1.7/time.c Sun Nov 4 16:21:09 2001
|
||
|
@@ -327,6 +327,8 @@
|
||
|
unsigned long r; /* Elapsed real milliseconds. */
|
||
|
unsigned long v; /* Elapsed virtual (CPU) milliseconds. */
|
||
|
|
||
|
+ if (verbose)
|
||
|
+ {
|
||
|
if (WIFSTOPPED (resp->waitstatus))
|
||
|
fprintf (fp, "Command stopped by signal %d\n",
|
||
|
WSTOPSIG (resp->waitstatus));
|
||
|
@@ -336,6 +338,7 @@
|
||
|
else if (WIFEXITED (resp->waitstatus) && WEXITSTATUS (resp->waitstatus))
|
||
|
fprintf (fp, "Command exited with non-zero status %d\n",
|
||
|
WEXITSTATUS (resp->waitstatus));
|
||
|
+ }
|
||
|
|
||
|
/* Convert all times to milliseconds. Occasionally, one of these values
|
||
|
comes out as zero. Dividing by zero causes problems, so we first
|