Hello!
I have installed the latest stable version of 2.6 on my FreeBSD Server.
I have to admit it is an rather old version, using GCC 2.95.3. A small
issue came up in the file cf_gen.c -- moving the declaration of "Type
*t" fixed the problem.
After subscribing to bug-zilla I found myself unable to submit a
bug-report, so hence I am writing this to you now.
Thanks for your work,
Torsten.
********** patch below ************
diff -duN cf_gen.c.orig cf_gen.c
--- cf_gen.c.orig 2007-09-14 09:20:03.000000000 +0200
+++ cf_gen.c 2007-09-14 09:31:11.000000000 +0200
@@ -177,9 +177,10 @@
while ((NULL != fgets(buff, MAX_LINE, fp))) {
const char *type = strtok(buff, WS);
const char *dep;
+ Type *t = NULL;
if (!type || type[0] == '#')
continue;
- Type *t = (Type *) xcalloc(1, sizeof(*t));
+ t = (Type *) xcalloc(1, sizeof(*t));
t->name = xstrdup(type);
while ((dep = strtok(NULL, WS)) != NULL) {
TypeDep *d = (TypeDep *) xcalloc(1, sizeof(*dep));
Received on Sat Sep 15 2007 - 06:49:01 MDT
This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:05 MDT