[commit: testsuite] ghc-7.6: Fix T7037 on Windows (a922db9)
Ian Lynagh
igloo at earth.li
Sat Jan 26 00:36:50 CET 2013
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite
On branch : ghc-7.6
http://hackage.haskell.org/trac/ghc/changeset/a922db9ca6e3ed4cdf163c963eeec44d2cf239d5
>---------------------------------------------------------------
commit a922db9ca6e3ed4cdf163c963eeec44d2cf239d5
Author: Ian Lynagh <igloo at earth.li>
Date: Fri Jan 25 20:17:45 2013 +0000
Fix T7037 on Windows
>---------------------------------------------------------------
tests/rts/T7037_main.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/tests/rts/T7037_main.c b/tests/rts/T7037_main.c
index 91f3130..cca6681 100644
--- a/tests/rts/T7037_main.c
+++ b/tests/rts/T7037_main.c
@@ -1,6 +1,7 @@
+#include <stddef.h>
#include <unistd.h>
int main(int argc, char *argv[]) {
- char *args[1] = {NULL};
+ const char *args[2] = {"T7037", NULL};
execv("./T7037", args);
}
More information about the ghc-commits
mailing list