40df28eb7b
Changes in 6.8.3: * The arguments to ghc-pkg now understand lists and wildcards, and there is a new command ghc-pkg find-module. * The filename completion in ghci is now more intelligent. * We now look for GHCi config files in these locations: ./.ghci $HOME/.ghc/ghci.conf $HOME/.ghci * You can now give multiple -e options to GHC. * You can now use the -prof and -threaded flags together, although you cannot also use +RTS -N2. * SCC names are no longer allowed to contain spaces, as some of the profiling tools break if they do. * Various changes have been made to GHC's internals, so there are some differences in the API exposed by the ghc package. Most notably, checkAndLoadModule has now been implemented.
33 lines
806 B
Text
33 lines
806 B
Text
$NetBSD: patch-am,v 1.4 2008/07/20 00:26:52 kristerw Exp $
|
|
|
|
--- libraries/unix/include/HsUnix.h.orig 2008-06-16 19:48:44.000000000 +0200
|
|
+++ libraries/unix/include/HsUnix.h 2008-07-19 20:06:49.000000000 +0200
|
|
@@ -140,6 +140,28 @@
|
|
return mknod(pathname,mode,dev);
|
|
}
|
|
|
|
+#ifdef HAVE_UNSETENV
|
|
+INLINE int __hsunix_unsetenv(const char *name)
|
|
+{
|
|
+ return unsetenv(name);
|
|
+}
|
|
+#endif
|
|
+
|
|
+INLINE clock_t __hsunix_times(struct tms *tp)
|
|
+{
|
|
+ return times(tp);
|
|
+}
|
|
+
|
|
+INLINE int __hsunix_sigpending(sigset_t *set)
|
|
+{
|
|
+ return sigpending(set);
|
|
+}
|
|
+
|
|
+INLINE int __hsunix_sigsuspend(const sigset_t *sigmask)
|
|
+{
|
|
+ return sigsuspend(sigmask);
|
|
+}
|
|
+
|
|
#ifdef HAVE_PTSNAME
|
|
// I cannot figure out how to make the definitions of the following
|
|
// functions visible in <stdlib.h> on Linux. But these definitions
|