1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-02 20:42:30 +03:00

io: Always use unbuffered input

Before, we often used unbuffered input via the lzma or gzip handlers,
more or less inadvertently.

Change the default file handlers from buffered (stdc FILE) to unbuffered
(POSIX fds).
This commit is contained in:
Nick Wellnhofer
2023-12-19 19:36:35 +01:00
parent 7e14c05df2
commit 1ef3566362
3 changed files with 127 additions and 22 deletions

View File

@ -298,6 +298,7 @@ deprecated_funcs = {
'namePush': True,
'nodePop': True,
'nodePush': True,
'xmlCheckFilename': True,
'xmlCheckLanguageID': True,
'xmlCleanupCharEncodingHandlers': True,
'xmlCleanupGlobals': True,
@ -305,6 +306,7 @@ deprecated_funcs = {
'xmlDecodeEntities': True,
'xmlDictCleanup': True,
'xmlEncodeEntities': True,
'xmlFileMatch': True,
'xmlHandleEntity': True,
'xmlInitCharEncodingHandlers': True,
'xmlInitGlobals': True,