Skip to content

Commit 0bef93b

Browse files
committed
io: More refactoring and unescaping fixes
Merge Windows wrappers into relevant functions. Remove more unnecessary unescaping. Merge *OpenW into *Open functions. Use unbuffered IO for output.
1 parent 331dcd6 commit 0bef93b

File tree

3 files changed

+153
-446
lines changed

3 files changed

+153
-446
lines changed

include/private/xzlib.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ typedef void *xzFile; /* opaque lzma file descriptor */
1919
XML_HIDDEN xzFile
2020
__libxml2_xzopen(const char *path, const char *mode);
2121
XML_HIDDEN xzFile
22-
__libxml2_xzdopen(int fd, const char *mode);
22+
__libxml2_xzdopen(const char *path, int fd, const char *mode);
2323
XML_HIDDEN int
2424
__libxml2_xzread(xzFile file, void *buf, unsigned len);
2525
XML_HIDDEN int

0 commit comments

Comments
 (0)