Hi Paul,
There are several problems with a current 2.0 implementation:
-
by value long-only
Because in a sample long-only is numeric-edited, "by value" is
passing 4-bytes string instead of the "int" value of the field
(also small possibility of SIGSEGV).
We need to fix that ether way, for example long-only S9(7)
COMP-5, or remove "by value" and get the correct value in
libcob
-
Current libcob implementation of this function is not aware
of BIG_ENDIAN, which is more heavy bug. The test is failing on
all BIG-ENDIAN platforms.
Regards,
Sergey
Hello,
I tried to compile the GNU Cobol
compiler
from branch 2.0 r470 on Solaris (sparc). Compiling the sources
is ok but
two tests failed.
output of uname -a SunOS sol10d
5.10
Generic_142909-17 sun4u sparc SUNW,Sun-Fire-V440
If I call CBL_OPEN_FILE like in
the
following code snippet:
...
01 OPEN-MODE
PIC X USAGE COMP-X VALUE 1.
....
CALL "CBL_OPEN_FILE"
using F-NAME, OPEN-MODE, 0, 0, F-HD
returning RET-CODE
DISPLAY "File
open rc = " RET-CODE
.....
the call to CBL_OPEN_FILE
succeeds.
The enclose ZIP file contains the
testsuite.log
file.
Best regards
Paul Meinhardt
(Development)
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
open-cobol-list mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/open-cobol-list
|