[sudo-commits] sudo changeset 5910:2b8ed181e37c
Todd C. Miller
Todd.Miller at courtesan.com
Tue Jul 27 09:43:33 EDT 2010
changeset: 5910:2b8ed181e37c in /home/hg/sudo
details: http://www.sudo.ws/repos/sudo/rev/2b8ed181e37c
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Tue Jul 27 09:43:23 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:
sudoreplay.c | 97 +++++++++++++++++++++++++++++++++++++++++++++++------------
1 files changed, 77 insertions(+), 20 deletions(-)
More information about the sudo-commits
mailing list