Changeset f2dff02 in git for Singular/iplib.cc
- Timestamp:
- Mar 26, 2001, 9:30:24 PM (23 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 355f86ae1e09b962323c4d49da60c5aa3a7eb6c5
- Parents:
- 1bd25e34e1c021af2213fdd6edb61b9aa82fa6ca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iplib.cc
r1bd25e rf2dff02 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: iplib.cc,v 1.8 1 2001-03-26 18:11:53Singular Exp $ */4 /* $Id: iplib.cc,v 1.82 2001-03-26 19:30:22 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: interpreter: LIB and help … … 57 57 char * iiGetLibName(procinfov pi) 58 58 { 59 char *res=NULL; 60 61 res = pi->libname; 62 return res; 63 } 59 return pi->libname; 60 } 61 64 62 /*2 65 63 * given a line 'proc[ ]+{name}[ \t]*' … … 102 100 BOOLEAN args_found; 103 101 char *s; 104 char *argstr=(char *)omAlloc(12 4);105 int argstrlen=12 4;102 char *argstr=(char *)omAlloc(127); // see ../omalloc/omTables.inc 103 int argstrlen=127; 106 104 *argstr='\0'; 107 105 do … … 379 377 if(pi->is_static) 380 378 { 381 if(ns==NULL) 382 { 383 Werror("'%s::%s()' 1 is a local procedure and cannot be accessed by an user.", 384 plib, pi->procname); 385 omFree(plib); 386 return NULL; 387 } 388 if(strcmp(plib, namespaceroot->name)!= 0) 389 { 390 Werror("'%s::%s()' 2 is a local procedure and cannot be accessed by an user.", 379 if((ns==NULL) 380 || (strcmp(plib, namespaceroot->name)!= 0)) 381 { 382 Werror("'%s::%s()' is a local procedure and cannot be accessed by an user.", 391 383 plib, pi->procname); 392 384 omFree(plib);
Note: See TracChangeset
for help on using the changeset viewer.