LibFile complains about lack of memory

Nick Burrett nick at dsvr.net
Fri Aug 16 08:24:36 PDT 2002


Timothy Baldwin wrote:

> 
> Heres a patch for exiting correctly on errors:
> 
> diff -burN gccsdk-old/riscos-aof/libfile/LibFile.cc 
> gccsdk2/riscos-aof/libfile/LibFile.cc
> - --- gccsdk-old/riscos-aof/libfile/LibFile.cc	Sat Aug 10 18:01:47 2002
> +++ gccsdk2/riscos-aof/libfile/LibFile.cc	Thu Aug  8 14:20:15 2002
> @@ -13,6 +13,7 @@
>    catch (BError err)
>      {
>        cerr << &err;
> +      return 1;
>      }
> 
>    return 0;

Thanks.  Installed.

Regards,


Nick.




More information about the gcc mailing list