Jeff King <peff@xxxxxxxx> writes: > I dunno. We are reaching diminishing returns spending brainpower on a > function that is meant to be somewhat quick-and-dirty. True. After all, the function is ready to exit and have the system close the file descriptor anyway ;-)