Re: [xml] [patches] static linking on win32 with static cruntimes



On Thu, Jan 27, 2005 at 12:26:04PM -0500, jreed wrote:
the two patches below force static linking on win32 in libxml2 and libxslt
for .exe's when the libraries are built using a static version of the
cruntime (/MT, /MTd, /ML, and /MLd).

these patches fix the breakage discussed previously on the xslt list,
and found also to occur in xmllint.exe.

http://mail.gnome.org/archives/xslt/2005-January/msg00069.html

quoting http://support.microsoft.com/kb/q140584/

"You cannot pass a FILE* or file handle across a CRT-boundary and expect
the "stdio low-level IO" to work."

  hehe ... commited :-)

I think defaulting to file descriptor based low level access and avoiding
FILE pointer as much as possible would be a general nice enhancement where
needed, I remember something with some verions of UNIX having ridiculously
low number of simultaneous FILE opened for a given process.

  Thanks a lot !

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://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]