[SCM] an open source computer algebra system branch, cleanedupstream, updated. 6125e540ca6d66c307958938a9d53b245507c323
Bernhard R. Link
brlink at debian.org
Tue Apr 24 15:54:30 UTC 2012
The following commit has been merged in the cleanedupstream branch:
commit fb870db849f3e10440b010e3af1413ee0f1baa1c
Author: Hans Schoenemann <hannes at mathematik.uni-kl.de>
Date: Thu Mar 29 15:22:59 2012 +0200
chg: help for modules should not consult the manual
diff --git a/Singular/fehelp.cc b/Singular/fehelp.cc
index 5ad2561..106c7a5 100644
--- a/Singular/fehelp.cc
+++ b/Singular/fehelp.cc
@@ -658,7 +658,6 @@ static int heReKey2Entry (char* filename, char* key, heEntry hentry)
}
// test for h being a string and print it
-// return TRUE an success
static BOOLEAN hePrintHelpStr(const idhdl hh,const char *id,const char *pa)
{
if ((hh!=NULL) && (IDTYP(hh)==STRING_CMD))
@@ -669,7 +668,7 @@ static BOOLEAN hePrintHelpStr(const idhdl hh,const char *id,const char *pa)
}
else
Print("`%s` not found in package %s\n",id,pa);
- return FALSE;
+ return TRUE;;
}
// try to find the help string as a loaded procedure or library
// if found, display the help and return TRUE
@@ -718,7 +717,7 @@ static BOOLEAN heOnlineHelp(char* s)
return hePrintHelpStr(hh,s_help,s);
}
else Print("package %s not found\n",s);
- return FALSE;
+ return TRUE; /* do not search the manual */
}
// try help for a library
--
an open source computer algebra system
More information about the debian-science-commits
mailing list