|
Boost-Build : |
From: Rene Rivera (grafik.list_at_[hidden])
Date: 2004-12-27 15:31:15
Reece Dunn wrote:
> I have been getting the occasional exception in bjam.exe, so I have
> switched to using a debug build. This has caught an exception in execnt.c:
>
> [line]
> [530] f = fopen( cmdtab[ slot ].tempfile, "w" );
> [531] fputs( string, f ); // <== HERE
> [532] fclose( f );
>
> The VC++ IDE is reporting that f is 0.
>
> The resolution would be to add:
>
> [530a] f = fopen( cmdtab[ slot ].tempfile, "w" );
> [530b] if( f == 0 ) report-error-and-exit;
Thanks :-) I just put in a guard for that.
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk