Changeset a3dfd97 in git


Ignore:
Timestamp:
Jul 3, 2002, 3:15:34 PM (22 years ago)
Author:
Anne Frühbis-Krüger <anne@…>
Branches:
(u'spielwiese', 'd1d239e9808fca76a9497a01fa91ad4e8db6fba5')
Children:
ec571a6dbfbcdb1921436dcc4a40068d9e5937d9
Parents:
deafd6a2ebd2eeebe22e9b6c82ce11770cc4dbdf
Message:
*anne: changes corresponding to activation of HAVE_NS


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

Legend:

Unmodified
Added
Removed
  • Singular/iplib.cc

    rdeafd6 ra3dfd97  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: iplib.cc,v 1.97 2002-05-02 15:16:00 Singular Exp $ */
     4/* $Id: iplib.cc,v 1.98 2002-07-03 13:15:34 anne Exp $ */
    55/*
    66* ABSTRACT: interpreter: LIB and help
     
    10261026  char FullName[256];
    10271027
     1028  memset(FullName,0,256);
     1029
    10281030  if( *fullname != '/' &&  *fullname != '.' )
    10291031    sprintf(FullName, "./%s", newlib);
    1030   else strcpy(FullName, fullname);
     1032  else strncpy(FullName, fullname,255);
    10311033
    10321034
     
    10601062  else
    10611063  {
     1064    package s=currPack;
     1065    currPack=IDPACKAGE(pl);
    10621066    fktn = (fktn_t)dynl_sym(IDPACKAGE(pl)->handle, "mod_init");
    10631067    if( fktn!= NULL) (*fktn)(iiAddCproc);
    10641068    else Werror("mod_init: %s\n", dynl_error());
    10651069    if (BVERBOSE(V_LOAD_LIB)) Print( "// ** loaded %s \n", fullname);
     1070    currPack->loaded=1;
     1071    currPack=s;
    10661072  }
    10671073  RET=FALSE;
     
    12291235  {
    12301236    LT = LT_ELF;
    1231     omFree(newlib);
    1232     newlib = omStrDup(libnamebuf);
     1237    //omFree(newlib);
     1238    //newlib = omStrDup(libnamebuf);
    12331239    goto lib_type_end;
    12341240  }
     
    12361242  {
    12371243    LT = LT_HPUX;
    1238     omFree(newlib);
    1239     newlib = omStrDup(libnamebuf);
     1244    //omFree(newlib);
     1245    //newlib = omStrDup(libnamebuf);
    12401246    goto lib_type_end;
    12411247  }
Note: See TracChangeset for help on using the changeset viewer.