gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[open-cobol-list] CVS Update 20050714


From: Roger While
Subject: [open-cobol-list] CVS Update 20050714
Date: Thu Jul 14 05:12:37 2005

CVS Updated.
Pick up a START on a SEQUENTIAL file in the parser.

Previously, when we ABORT'ed, intermediate files were being
left around. In lieu of a rewrite of ABORT, implement as a stop gap
a setjmp/longjmp back into the main cobc code so that we can clean
the files (if save-temps not specified). This is quite safe as we are
only dependent on static global variables in cobc.

As reported on the bug list, we were not checking malloc/realloc
returns. We now do so; both in the compiler and the runtime.
Achieved by defining our own cob_malloc routine.

In fileio.c, define dummy routines for read,write, etc. which
return status 30. This allows us to completely define the
function jump tables (even when no DB configured) and
caters for something slipping past the parser. (See first point above)

Add in OC test for first point above.
Tweak some OC intrinsic tests to check for a range instead of
a specific value (ATAN, COS, SIN). This caters for the vagueries
of the precision in the return value.
If anyone has discrepancies in other tests, let me know.

Tarball of this current state is available at :
http://www.sim-basis.de/open-cobol-0.33.tar.gz

Roger




reply via email to

[Prev in Thread] Current Thread [Next in Thread]