2013-04-15 Ramon Novoa <rnovoa@artica.es>
* win32/pandora_windows_service.cc: Open the XML data file in binary mode to avoid getting extra carriage returns. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7987 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
433e2c1626
commit
4e87eb50c6
|
@ -1,3 +1,8 @@
|
|||
2013-04-15 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* win32/pandora_windows_service.cc: Open the XML data file in binary
|
||||
mode to avoid getting extra carriage returns.
|
||||
|
||||
2013-04-11 Hirofumi Kosaka <kosaka@rworks.jp>
|
||||
|
||||
* win32/pandora_windows_service.cc: Fixed possible resource leaks;
|
||||
|
|
|
@ -1583,7 +1583,7 @@ Pandora_Windows_Service::sendXml (Pandora_Module_List *modules) {
|
|||
|
||||
/* Copy the XML to temporal file */
|
||||
pandoraDebug ("Copying XML on %s", tmp_filepath.c_str ());
|
||||
conf_fh = fopen (tmp_filepath.c_str (), "w");
|
||||
conf_fh = fopen (tmp_filepath.c_str (), "wb");
|
||||
if (conf_fh == NULL) {
|
||||
pandoraLog ("Error when saving the XML in %s",
|
||||
tmp_filepath.c_str ());
|
||||
|
|
Loading…
Reference in New Issue