Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
bdc687a0
Commit
bdc687a0
authored
Jul 18, 2001
by
rrt
Browse files
[project @ 2001-07-18 16:04:31 by rrt]
Fix typo (variable name wrong; wouldn't build)
parent
5c571226
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/main/SysTools.lhs
View file @
bdc687a0
...
...
@@ -694,7 +694,7 @@ getExecDir = do let len = 2048 -- plenty, PATH_MAX is 512 under Win32.
if ret == 0 then return Nothing
else do s <- peekCString buf
destructArray (fromIntegral len) buf
return (Just (reverse (drop (length "/bin/ghc.exe") (reverse (unDosifyPath
n
)))))
return (Just (reverse (drop (length "/bin/ghc.exe") (reverse (unDosifyPath
s
)))))
foreign import stdcall "GetModuleFileNameA" getModuleFileName :: Addr -> CString -> Int32 -> IO Int32
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment