OpenAFS Master Repository branch, master, updated. a8cd0240e19301673598544166dab639f8e83c10
Gerrit Code Review
gerrit@openafs.org
Wed, 15 Jul 2009 00:15:32 -0700 (PDT)
The following commit has been merged in the master branch:
commit a8cd0240e19301673598544166dab639f8e83c10
Author: Jeffrey Altman <jaltman@secure-endpoints.com>
Date: Wed Jul 15 01:32:28 2009 -0400
Do not call ctime() twice in the same statement
Reported by Marcus Watts. Two calls to ctime() in the same
fprintf() statement will result in only one of the times being
printed twice. This is due to the fact that ctime() returns
a static buffer.
LICENSE IPL10
Reviewed-on: http://gerrit.openafs.org/85
Verified-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Russ Allbery <rra@stanford.edu>
src/butc/read_tape.c | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
--
OpenAFS Master Repository