Changeset 50cbdc in git for Singular/silink.cc


Ignore:
Timestamp:
Aug 27, 2001, 4:48:02 PM (23 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
2567b5a6cb7109be5a83e53eb94abb1c38fb9945
Parents:
3de58c9ca0aeaafdf5cb29f986967bffa405b542
Message:
*hannes: merge-2-0-2


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

Legend:

Unmodified
Added
Removed
  • Singular/silink.cc

    r3de58c r50cbdc  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: silink.cc,v 1.40 2001-03-26 18:11:54 Singular Exp $ */
     4/* $Id: silink.cc,v 1.41 2001-08-27 14:47:39 Singular Exp $ */
    55
    66/*
     
    1212#include "mod2.h"
    1313#include "tok.h"
    14 #include "omalloc.h"
     14#include <omalloc.h>
    1515#include "febase.h"
    1616#include "subexpr.h"
     
    2424#include "intvec.h"
    2525
     26#ifdef HAVE_DBM
     27#ifdef ix86_Win
     28#define USE_GDBM
     29#endif
     30#endif
     31
    2632omBin s_si_link_extension_bin = omGetSpecBin(sizeof(s_si_link_extension));
    2733omBin sip_link_bin = omGetSpecBin(sizeof(sip_link));
     
    8894    while (strcmp(s->type, type) != 0)
    8995    {
    90       if (s->next == NULL) 
     96      if (s->next == NULL)
    9197      {
    9298        prev = s;
     
    112118
    113119  if (l->m == NULL) return TRUE;
    114  
     120
    115121  l->name = (name != NULL ? name : omStrDup(""));
    116122  l->mode = (mode != NULL ? mode : omStrDup(""));
     
    219225    if (! SI_LINK_CLOSE_P(l))
    220226      {
    221         if (slClose(l)) return NULL;
     227        if (slClose(l)) return NULL;
    222228      }
    223229#endif
     
    266272    if (! SI_LINK_CLOSE_P(l))
    267273      {
    268         if (slClose(l)) return TRUE;
     274        if (slClose(l)) return TRUE;
    269275      }
    270276#endif
     
    849855  s->next = NULL;
    850856  si_link_extension ns = (si_link_extension)omAlloc0Bin(s_si_link_extension_bin);
    851  
     857
    852858#ifdef HAVE_MPSR
    853859  if (strcmp(type, "MPfile") == 0)
     
    872878    return si_link_root;
    873879  }
    874  
     880
    875881  if (s->next == NULL)
    876882  {
Note: See TracChangeset for help on using the changeset viewer.