logo       

RE: runghc exit status: msg#00047

lang.haskell.glasgow.bugs

Subject: RE: runghc exit status

On 11 May 2005 07:37, Frederik Eaton wrote:

> It looks like runghc is exiting with status 0 if there is a problem.
> Shouldn't this be non-zero?
>
> $ runghc -V
> The Glorious Glasgow Haskell Compilation System, version 6.4
> $ runghc /dev/null; echo $?
> Could not find module `/dev/null':
> use -v to see a list of the files searched for
> (one of the roots of the dependency analysis)
>
> <interactive>:1:76:
> Failed to load interface for `Main':
> Could not find module `Main':
> it is not a module in the current program, or in any known
> package. 0

It turns out I fixed this bug after 6.4, but later the fix was
accidentally reverted. So thanks for reporting this again, it'll work
properly in 6.4.1.

Cheers,
Simon


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise