-static const char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/allParam/tcl/tclParam.c,v 1.31 2005-01-10 15:54:45 hadaq Exp $";
+static const char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/allParam/tcl/tclParam.c,v 1.32 2005-04-06 13:59:48 hadaq Exp $";
#define _POSIX_C_SOURCE 199509L
#if HAVE_CONFIG_H
}
}
-void (*ourLogMsg) (int, const char *, ...) = defaultLogMsg;
+static void (*ourLogMsg) (int, const char *, ...) = defaultLogMsg;
void Param_registerLogMsg(void (*f) (int, const char *, ...))
{
pthread_mutex_unlock(((TclParam *) (my->specParam))->interpLock);
}
#endif /* PTHREADS */
+ if (*rows == 0) {
+ char s[512];
+
+ sprintf(s, "Parameter %s(%s*) not found", lname, lidx);
+ Param_strerror((Param *) my, s);
+ }
return retVal;
}