Release calc version 2.11.0t6.1

This commit is contained in:
Landon Curt Noll
1999-10-09 02:37:41 -07:00
parent b54d8fc510
commit 2dc364ee9f
9 changed files with 25 additions and 11 deletions

View File

@@ -164,7 +164,8 @@ endfunc(void)
size += dumpop(&fp->f_opcodes[size]);
}
}
if (inputisterminal() || conf->lib_debug >= 0) {
if ((inputisterminal() && conf->lib_debug & 1) ||
(!inputisterminal() && conf->lib_debug & 2)) {
printf("%s(", fp->f_name);
for (index = 0; index < fp->f_paramcount; index++) {
if (index)
@@ -237,7 +238,8 @@ rmuserfunc(char *name)
return;
freenumbers(functions[index]);
free(functions[index]);
if (inputisterminal() && conf->lib_debug >= 0)
if ((inputisterminal() && conf->lib_debug & 1) ||
(!inputisterminal() && conf->lib_debug & 2))
printf("%s() undefined\n", name);
functions[index] = NULL;
}