Changeset 4eb5b5 in git


Ignore:
Timestamp:
Jul 25, 2003, 4:04:09 PM (21 years ago)
Author:
Viktor Levandovskyy <levandov@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
d57d382a91c9b38ddb47e8eaaf601a6507737461
Parents:
38c7697fd908b136212c41b99e9311214879a4b7
Message:
*levandov: hannes solution for static-dynamic problems


git-svn-id: file:///usr/local/Singular/svn/trunk@6849 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
Singular
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/ipid.cc

    r38c769 r4eb5b5  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ipid.cc,v 1.67 2003-05-22 17:55:27 Singular Exp $ */
     4/* $Id: ipid.cc,v 1.68 2003-07-25 14:04:09 levandov Exp $ */
    55
    66/*
     
    1111
    1212#include "mod2.h"
     13#include "static.h"
    1314#include "omalloc.h"
    1415#include "tok.h"
     
    862863  if (pack->ref < 0)
    863864  {
     865#ifndef HAVE_STATIC
    864866    if( pack->language == LANG_C)
    865867    {
     
    869871#endif /* HAVE_DYNAMIC_LOADING */
    870872    }
     873#endif /* HAVE_STATIC */
    871874    omfree((ADDRESS)pack->libname);
    872875    memset((void *) pack, 0, sizeof(sip_package));
  • Singular/iplib.cc

    r38c769 r4eb5b5  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: iplib.cc,v 1.102 2002-12-19 11:22:52 Singular Exp $ */
     4/* $Id: iplib.cc,v 1.103 2003-07-25 14:04:08 levandov Exp $ */
    55/*
    66* ABSTRACT: interpreter: LIB and help
     
    1414
    1515#include "mod2.h"
     16#include "static.h"
    1617#include "tok.h"
    1718#include "ipid.h"
     
    10211022BOOLEAN load_modules(char *newlib, char *fullname, BOOLEAN tellerror)
    10221023{
     1024#ifdef HAVE_STATIC
     1025  WerrorS("mod_init: static version can not load modules");
     1026  return TRUE;
     1027#else
    10231028  int iiAddCproc(char *libname, char *procname, BOOLEAN pstatic,
    10241029                 BOOLEAN(*func)(leftv res, leftv v));
     
    10861091  load_modules_end:
    10871092  return RET;
     1093#endif /*STATIC */ 
    10881094}
    10891095#endif /* HAVE_DYNAMIC_LOADING */
Note: See TracChangeset for help on using the changeset viewer.