version 1.1.1.4, 2013/07/22 10:46:12
|
version 1.1.1.5, 2013/10/14 07:56:34
|
Line 255 expand_iolog_path(const char *prefix, const char *dir,
|
Line 255 expand_iolog_path(const char *prefix, const char *dir,
|
/* Use sudoers locale for strftime() */ |
/* Use sudoers locale for strftime() */ |
sudoers_setlocale(SUDOERS_LOCALE_SUDOERS, &oldlocale); |
sudoers_setlocale(SUDOERS_LOCALE_SUDOERS, &oldlocale); |
|
|
/* We only calls strftime() on the current part of the buffer. */ | /* We only call strftime() on the current part of the buffer. */ |
tmpbuf[sizeof(tmpbuf) - 1] = '\0'; |
tmpbuf[sizeof(tmpbuf) - 1] = '\0'; |
len = strftime(tmpbuf, sizeof(tmpbuf), dst0, timeptr); |
len = strftime(tmpbuf, sizeof(tmpbuf), dst0, timeptr); |
|
|