GAP Forum,
On Mon, 3 Apr 2000, Frank Heckenbach wrote:
after upgrading to gap4r2, I'm having problems with the `Process'
function under Solaris. The following command (just like any other
call) returns -1, though it should return 0.Process (DirectoryCurrent (), "/bin/true", \
InputTextFile ("/dev/null"), OutputTextFile ("/dev/null", true), []);The problem does not seem to exist under Linux.
I noticed the following in the announcement of bugfix 1:
5) A problem with `Exec' on Solaris2.5 (which caused a segmentation fault).
I can confirm that though the segmentation fault problem with Exec and
Process is fixed by fix4r2n1.zoo that indeed (testing Solaris 2.5/
IRIX 6.5/Linux):
With: GAP4, Version: 4r2 fix1 of 17-Mar-2000, sparc-sun-solaris2.5-gcc
gap> Process (DirectoryCurrent (), "/bin/true", \
> InputTextFile ("/dev/null"), OutputTextFile ("/dev/null", true), []);
-1
... whereas, With: GAP4, Version: 4r2 fix1 of 17-Mar-2000, mips-sgi-irix6.5-cc-64
gap> Process (DirectoryCurrent (), "/bin/true", \
> InputTextFile ("/dev/null"), OutputTextFile ("/dev/null", true), []);
0
... and With: GAP4, Version: 4r2 fix1 of 17-Mar-2000, i586-pc-linux-gnu-gcc
gap> Process (DirectoryCurrent (), "/bin/true", \
> InputTextFile ("/dev/null"), OutputTextFile ("/dev/null", true), []);
0
Regards, Greg Gamble ___________________________________________________________________ Greg Gamble __________________ mailto:gregg@csee.uq.edu.au Centre for Discrete Mathematics & Computing Tel: +61-7 336 52425 Department of Computer Science Fax: +61-7 336 54999 & Electrical Engineering http://www.csee.uq.edu.au/~gregg The University of Queensland, Queensland 4072 AUSTRALIA ___________________________________________________________________