> < ^ Date: Fri, 15 Mar 1996 14:59:00 +0100 (MET)
> < ^ From: Martin Schoenert <martin.schoenert@math.rwth-aachen.de >
^ Subject: BUGFIX 03 (Guava external programs)

This mail contains a bugfix for a serious problem in GAP 3.4.3.
You should apply this bugfix soon if you are using Guava.
The problem is in the external programs of Guava, and may cause the
Guava functions 'ConstantWeightSubcode', 'AutomorphismGroup', and
'CodeIsomorphism', to fail with cryptic error messages on some machines.

HOW TO APPLY

The problem is a serious problem, because if may cause a computation to
fail. Thus the bugfix has medium priority, and we recommend that you
apply it soon if you are using Guava.

Go to the GAP directory (the directory with the 'lib/' subdirectory),
name this file 'bugfix03.dif', and issue the command:

patch -p0 < bugfix03.dif

To recompile the external programs of Guava afterwards,
go to the 'pkg/guava/' subdirectory and issue the command:

make

VERSION

GAP 3.4.3.0

DESCRIPTION

The Guava functions 'ConstantWeightSubcode', 'AutomorphismGroup', and
'CodeIsomorphism' fail with cryptic error messages on some machines.

CORRECT BEHAVIOUR

gap> RequirePackage("guava");
gap> C := HammingCode( 3 );
a linear [7,4,3] Hamming (3,2) code over GF(2)
gap> AutomorphismGroup( C );
Group( (1,2)(5,6), (2,4)(3,5), (2,3)(6,7), (4,6)(5,7), (4,5)(6,7) )

COMMENT

The include file 'group.h' defined 'MAX_NAME_LENGTH', which is the
maximal length of the names of the input and output files for the
external programs, to be 16. This is too short if those files are
stored in '/var/tmp/'. This bugfix raises 'MAX_NAME_LENGTH' to 64.

PATCH

--- pkg/guava/src/leon/src/group.h      Sat Sep 19 02:08:02 1992
+++ pkg/guava/src/leon/src/group.h      Thu Jan  4 12:58:48 1996
@@ -116,7 +116,7 @@
 #endif

 #ifndef MAX_NAME_LENGTH
-#define MAX_NAME_LENGTH      16
+#define MAX_NAME_LENGTH      64
 #endif

 #ifndef MAX_FILE_NAME_LENGTH
END OF  bugfix03.dif ________________________________________________________

> < [top]