[commit: testsuite] master: Fix T7037 on Windows (07076dc)

Ian Lynagh igloo at earth.li
Sat Jan 26 02:45:21 CET 2013


Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/07076dcf291c76e8e92da8201fddf019c16446c8

>---------------------------------------------------------------

commit 07076dcf291c76e8e92da8201fddf019c16446c8
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