[xml] bug in libxml-1.8.10

Date view Thread view Subject view Author view

From: Marcus Lankenau (marcus.lankenau@socon.de)
Date: Thu Sep 07 2000 - 08:19:07 EDT


Hi!

This is not realy a bug, but annoying. We are using libxml with win32 and have content with
linefeeds. These linefeeds are often corrupted since libxml is reading files as binaries

input = _open (filename, O_RDONLY | _O_BINARY);

and saves files as ascii:

output = fopen(filename, "w");

I changed this (tree.c:4598) to

output = fopen(filename, "wb");

by
Marcus Lankenau

----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 10:43:21 EDT