[commit: unix] master: forgot to add to previous commit (1e963b4)
David Terei
davidterei at gmail.com
Tue Jan 10 01:34:19 CET 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/unix
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/1e963b41fb1f5b856aedd24587c879ad6b76bbb0
>---------------------------------------------------------------
commit 1e963b41fb1f5b856aedd24587c879ad6b76bbb0
Author: Deian Stefan <deian at cs.stanford.edu>
Date: Sun Jan 1 21:54:52 2012 -0800
forgot to add to previous commit
>---------------------------------------------------------------
cbits/HsUnix.c | 3 +++
include/HsUnix.h | 1 +
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/cbits/HsUnix.c b/cbits/HsUnix.c
index d74917b..d6366fc 100644
--- a/cbits/HsUnix.c
+++ b/cbits/HsUnix.c
@@ -132,6 +132,9 @@ int __hsunix_push_module(int fd, const char *module)
int __hscore_mkstemp(char *filetemplate) {
return (mkstemp(filetemplate));
}
+char *__hscore_mkdtemp(char *filetemplate) {
+ return (mkdtemp(filetemplate));
+}
#endif
#if !defined(__MINGW32__) && !defined(irix_HOST_OS)
diff --git a/include/HsUnix.h b/include/HsUnix.h
index d8a072a..eecbfe8 100644
--- a/include/HsUnix.h
+++ b/include/HsUnix.h
@@ -175,6 +175,7 @@ int __hsunix_push_module(int fd, const char *module);
#if !defined(__MINGW32__)
int __hscore_mkstemp(char *filetemplate);
+char *__hscore_mkdtemp(char *filetemplate);
#endif
#if !defined(__MINGW32__) && !defined(irix_HOST_OS)
More information about the Cvs-libraries
mailing list