vcpkg/ports/cspice/mktemp.patch
2019-11-20 14:04:54 -08:00

12 lines
305 B
Diff

--- a/cspice/src/cspice/open.c 2019-11-02 10:57:10.073886963 +0300
+++ b/cspice/src/cspice/open.c 2019-11-02 10:57:49.230398941 +0300
@@ -324,7 +324,7 @@
#ifdef NON_ANSI_STDIO
(void) strcpy(buf,"tmp.FXXXXXX");
- (void) mktemp(buf);
+ fclose(mktemp(buf));
goto replace;
#else