util: fix log file renaming of mrafs-style logs 20/12220/4
authorMichael Meffie <mmeffie@sinenomine.net>
Sun, 13 Mar 2016 21:27:59 +0000 (17:27 -0400)
committerBenjamin Kaduk <kaduk@mit.edu>
Mon, 25 Apr 2016 04:05:06 +0000 (00:05 -0400)
commitdb74758924b4d889e1c713a46be898d47f4ae6a9
tree11f215378dc67df05113c964f520bd9ac6a7b27b
parent721c3737c7f308c777a7f05cf014e4502c607eb2
util: fix log file renaming of mrafs-style logs

Do not make timestamped log files with an invalid number of seconds when
renaming old mrsafs-style log files, i.e., more than 59 seconds in the
seconds field.

Replace the goto used in the mrafs-style make file name retries with a
regular, bounded loop.

Change-Id: I16d032197e4b1e227b1f005fbc395a013e099561
Reviewed-on: https://gerrit.openafs.org/12220
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/util/serverLog.c