still one fopen to be replaced in lime unit test

This commit is contained in:
Jehan Monnier 2015-05-26 18:39:59 +02:00
parent 78cc40e1c4
commit 40ae36e14a

View file

@ -840,7 +840,7 @@ static void lime_unit(void) {
xmlDocDumpFormatMemoryEnc(cacheBufferBob, &xmlStringOutput, &xmlStringLength, "UTF-8", 0);
/* write it to the file */
CACHE = fopen("ZIDCacheBob.xml", "wb+");
CACHE = fopen_from_write_dir("ZIDCacheBob.xml", "wb+");
fwrite(xmlStringOutput, 1, xmlStringLength, CACHE);
xmlFree(xmlStringOutput);
fclose(CACHE);