Changeset f2dff02 in git for Singular/iplib.cc


Ignore:
Timestamp:
Mar 26, 2001, 9:30:24 PM (23 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
355f86ae1e09b962323c4d49da60c5aa3a7eb6c5
Parents:
1bd25e34e1c021af2213fdd6edb61b9aa82fa6ca
Message:
*hannes: CleanUp does a memset


git-svn-id: file:///usr/local/Singular/svn/trunk@5342 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/iplib.cc

    r1bd25e rf2dff02  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: iplib.cc,v 1.81 2001-03-26 18:11:53 Singular Exp $ */
     4/* $Id: iplib.cc,v 1.82 2001-03-26 19:30:22 Singular Exp $ */
    55/*
    66* ABSTRACT: interpreter: LIB and help
     
    5757char * iiGetLibName(procinfov pi)
    5858{
    59   char *res=NULL;
    60 
    61   res = pi->libname;
    62   return res;
    63 }
     59  return pi->libname;
     60}
     61
    6462/*2
    6563* given a line 'proc[ ]+{name}[ \t]*'
     
    102100  BOOLEAN args_found;
    103101  char *s;
    104   char *argstr=(char *)omAlloc(124);
    105   int argstrlen=124;
     102  char *argstr=(char *)omAlloc(127); // see ../omalloc/omTables.inc
     103  int argstrlen=127;
    106104  *argstr='\0';
    107105  do
     
    379377  if(pi->is_static)
    380378  {
    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.",
    391383             plib, pi->procname);
    392384      omFree(plib);
Note: See TracChangeset for help on using the changeset viewer.