On Sat, Apr 16, 2016 at 12:53 PM, Nikolay Sivov <bungleh...@gmail.com>
wrote:

> On 16.04.2016 11:23, Sylvain Pointeau wrote:
> >
> > FILE*f = fopen("C:\\myfolder\\testdata.xml", "w");
> >
> > xmlOutputBufferPtroutput = xmlOutputBufferCreateFile(f, NULL);
> >
> > xmlOutputBufferWriteString(output, "WHY DO YOU CRASH?");
> >
> > xmlOutputBufferClose(output); <- at this moment it displays I/O error :
> > Bad file descriptor
> >
> > fclose(f);
> >
> >
>
> Not sure if it's important, but I see that internally libxml2 opens with
> "wb" mode in some cases.
>
>
no it does not solve the issue.
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
https://mail.gnome.org/mailman/listinfo/xml

Reply via email to