1diff -urN src/Run newsrc/Run 2--- src/Run 2006-05-17 14:24:46.000000000 -0700 3+++ newsrc/Run 2010-05-07 19:02:43.000000000 -0700 4@@ -53,7 +53,7 @@ 5 # You will need ... 6 # awk cat cc chmod comm cp date dc df echo ed expr 7 # kill ls make mkdir rm sed test time touch tty umask who 8-# AND /usr/bin/time 9+# AND time 10 # to generate result indexes, you will also need ... 11 # join 12 # 13@@ -66,7 +66,7 @@ 14 # 15 if [ -z "${FLAVOR-}" ]; then 16 # determine flavor of UNIX from number of lines generated by "time" 17- Fcount=`/usr/bin/time date 2>&1 | wc -l | sed 's/ //g'` 18+ Fcount=`time date 2>&1 | wc -l | sed 's/ //g'` 19 case "$Fcount" in 20 2) FLAVOR=BSD ;; 21 3) FLAVOR=Linux ;; 22@@ -468,10 +468,10 @@ 23 ############ THE BENCH IS TIMED ############## 24 if [ -z "${stdin-}" ]; then 25 # without redirected stdin 26- /usr/bin/time $prog $opt $bg 2>>$TMPTIMES >>$stdout 27+ time $prog $opt $bg 2>>$TMPTIMES >>$stdout 28 else 29 # with redirected stdin 30- /usr/bin/time $prog $opt $bg <$stdin 2>>$TMPTIMES >>$stdout 31+ time $prog $opt $bg <$stdin 2>>$TMPTIMES >>$stdout 32 fi 33 ############################################### 34 cd $pwd # move back home 35diff -urN src/src/execl.c newsrc/src/execl.c 36--- src/src/execl.c 1999-07-28 14:46:58.000000000 -0700 37+++ newsrc/src/execl.c 2010-05-07 19:01:38.000000000 -0700 38@@ -88,7 +88,7 @@ 39 fprintf(stderr, "%lu loops\n", iter); 40 exit(0); 41 } 42- execl(fullpath, fullpath, "0", dur_str, count_str, start_str, 0); 43+ execl(fullpath, fullpath, "0", dur_str, count_str, start_str, (char *)0); 44 printf("Exec failed at iteration %lu\n", iter); 45 perror("Reason"); 46 exit(1); 47