[sudo-commits] sudo changeset 5913:4d385765f23b
Todd C. Miller
Todd.Miller at courtesan.com
Tue Jul 27 09:50:02 EDT 2010
changeset: 5913:4d385765f23b in /home/hg/sudo
details: http://www.sudo.ws/repos/sudo/rev/4d385765f23b
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Tue Jul 27 09:49:54 2010 -0400
Log Message:
Add setlocale() so the command line arguments that use floating
point work in different locales. Since sudo now logs the timing
data in the C locale we must Parse the seconds in the timing file
manually instead of using strtod(). Furthermore, sudo 1.7.3 logged
the number of seconds with the user's locale so if the decimal point
is not '.' try using the locale-specific version.
diffstat:
plugins/sudoers/sudoreplay.c | 97 ++++++++++++++++++++++++++++++++++---------
1 files changed, 77 insertions(+), 20 deletions(-)
More information about the sudo-commits
mailing list