[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] final output filtering?
- From: Daniel Veillard <veillard redhat com>
- To: Justin Fletcher <justin fletcher ntlworld com>
- Cc: xml gnome org
- Subject: Re: [xml] final output filtering?
- Date: Tue, 10 Jun 2003 14:16:48 -0400
On Tue, Jun 10, 2003 at 05:42:46PM +0100, Justin Fletcher wrote:
> fd = fopen(path, "wb");
>
> that is, the conditional case seems completely redundant to me. You want
> the data to be treated as binary so I would have thought that you would
> always want to open it for binary output. Thus avoiding the problem of
> line endings on platforms you haven't yet encountered (broken C libraries
> not withstanding).
the 'b' extension is a pure Microsoftism ... that would break on
most platforms !
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]