Avoid duplicate calls to current_timespec
commitad23626030f0541e761f683661b51152128fb0b5
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 6 Jul 2015 02:19:13 +0000 (5 19:19 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 6 Jul 2015 02:21:50 +0000 (5 19:21 -0700)
tree2ad34efc062b4119443e69dd93eb3a4f79eef838
parentf469c17b9c869b400b3515535b2f1fd9dd00f9a0
Avoid duplicate calls to current_timespec

* src/process.c (wait_reading_process_output):
Cache current_timespec results as long as we're not waiting.
src/process.c