Skip to content

Conversation

troglobit
Copy link
Collaborator

Hopefully fixes #96 ...

troglobit added 5 commits May 25, 2017 20:04
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This patch adds Windows CreateFile() with the FILE_FLAG_DELETE_ON_CLOSE
and the GetTemp*() API, similar to what tmpfile() on UNIX does, to get a
fmemopen() compatible implementation.

Note: Only tested w/ x86_64-w64-mingw32-gcc and Wine on Linux

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Used for testing on Windows/mingw

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
troglobit added 3 commits May 25, 2017 20:52
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
@troglobit troglobit merged commit fa2ff5c into libconfuse:master May 27, 2017
@troglobit troglobit deleted the windows-mingw-fixes branch May 27, 2017 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

funopen() unavailable in gcc-mingw-w64-x86-64
1 participant