projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
86add45
)
Fix Windows build failure
author
Ian Lynagh
<igloo@earth.li>
Sun, 5 Jun 2011 18:16:35 +0000
(19:16 +0100)
committer
Ian Lynagh
<igloo@earth.li>
Sun, 5 Jun 2011 18:16:35 +0000
(19:16 +0100)
We were calling freeArgv with arguments of the wrong type.
But actually, we had our own copy of its loop anyway, so
now we just use that instead.
rts/RtsFlags.c
patch
|
blob
|
history
diff --git
a/rts/RtsFlags.c
b/rts/RtsFlags.c
index
9c0ec9e
..
24181d3
100644
(file)
--- a/
rts/RtsFlags.c
+++ b/
rts/RtsFlags.c
@@
-1585,8
+1585,6
@@
void freeWin32ProgArgv (void);
void
freeWin32ProgArgv (void)
{
void
freeWin32ProgArgv (void)
{
- freeArgv(win32_prog_argc, win32_prog_argv);
-
int i;
if (win32_prog_argv != NULL) {
int i;
if (win32_prog_argv != NULL) {