Mercury Bugs - mercury
View Issue Details
0000276mercuryBugpublic2013-02-27 15:232013-02-27 15:24
Reporterjuliensf 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000276: io.call_system/4 inconsistency between C and Java grades
DescriptionThe attached Mercury program calls io.call_system/4 and it calls the C program foo.
foo exits with exit status 2. In C grades we get:

    ok(2)

In the Java grade we get:
  
    error(io_error("system command killed by signal number 2"))
TagsNo tags attached.
Attached Filesc foo.c (70) 2013-02-27 15:23
https://bugs.mercurylang.org/file_download.php?file_id=171&type=bug
? syscall_bug.m (209) 2013-02-27 15:24
https://bugs.mercurylang.org/file_download.php?file_id=172&type=bug

There are no notes attached to this issue.

Issue History
2013-02-27 15:23juliensfNew Issue
2013-02-27 15:23juliensfFile Added: foo.c
2013-02-27 15:24juliensfFile Added: syscall_bug.m