mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 05:57:43 +00:00
STABLE14-windows-init-log-eol-20060830
change EOL to CR-LF for afsd_init.log (cherry picked from commit 48471c805ee43192e3d3adf1ffac995c16257903)
This commit is contained in:
parent
30c3d4a4f7
commit
82fb20bf7b
@ -114,7 +114,7 @@ afsi_log(char *pattern, ...)
|
|||||||
if ( afsi_log_useTimestamp ) {
|
if ( afsi_log_useTimestamp ) {
|
||||||
GetTimeFormat(LOCALE_SYSTEM_DEFAULT, 0, NULL, NULL, t, sizeof(t));
|
GetTimeFormat(LOCALE_SYSTEM_DEFAULT, 0, NULL, NULL, t, sizeof(t));
|
||||||
GetDateFormat(LOCALE_SYSTEM_DEFAULT, 0, NULL, NULL, d, sizeof(d));
|
GetDateFormat(LOCALE_SYSTEM_DEFAULT, 0, NULL, NULL, d, sizeof(d));
|
||||||
StringCbPrintfA(u, sizeof(u), "%s %s: %s\n", d, t, s);
|
StringCbPrintfA(u, sizeof(u), "%s %s: %s\r\n", d, t, s);
|
||||||
if (afsi_file != INVALID_HANDLE_VALUE)
|
if (afsi_file != INVALID_HANDLE_VALUE)
|
||||||
WriteFile(afsi_file, u, strlen(u), &zilch, NULL);
|
WriteFile(afsi_file, u, strlen(u), &zilch, NULL);
|
||||||
#ifdef NOTSERVICE
|
#ifdef NOTSERVICE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user