Package: elastic
Version: 0.0.36-2.3
Severity: serious

elastic fails to build because it uses an invalid lvalue in an
assignment:

gcc -DHAVE_CONFIG_H -I../../.. -I../../../src  -g -O2 -g -O2 -DEC_DEBUG_MINIMUM 
-fPIC -c re_m.c -o re_m.o
re_m.c: In function 'match_free':
re_m.c:932: error: invalid lvalue in assignment

The attached patch fixes this.

-- 
Matt
only in patch2:
unchanged:
--- elastic-0.0.36.orig/src/modules-dynamic/re/re_m.c
+++ elastic-0.0.36/src/modules-dynamic/re/re_m.c
@@ -929,7 +929,7 @@
        EC_MATCH_REGEXP(obj)  = EC_NIL;
 
        ec_free( EC_MATCH(obj) );
-       EC_MATCH(obj) = NULL;
+       EC_USER(obj) = NULL;
 }
 
 static EcInt match_print( ec_string *str, EC_OBJ obj, EcBool detailed )

Attachment: signature.asc
Description: Digital signature

Reply via email to