Changeset 814f03 in git


Ignore:
Timestamp:
Mar 11, 2009, 4:26:00 PM (14 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '8d54773d6c9e2f1d2593a28bc68b7eeab54ed529')
Children:
8ee3f2d6e66a708230a1e7f07ce23dfef50f141d
Parents:
eee873799255b9786c3fa719d4fc2fdeb05bc1f7
Message:
*hannes: monitor


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

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    reee873 r814f03  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: iparith.cc,v 1.500 2009-03-11 09:43:29 Singular Exp $ */
     4/* $Id: iparith.cc,v 1.501 2009-03-11 15:26:00 Singular Exp $ */
    55
    66/*
     
    25232523  SI_LINK_SET_CLOSE_P(l); // febase handles the FILE*
    25242524  char *opt;
    2525   if (v==NULL) opt="i";
    2526   else         opt=(char *)v->Data();
    25272525  int mode=0;
    2528   while(*opt!='\0')
    2529   {
    2530     if (*opt=='i') mode |= PROT_I;
    2531     else if (*opt=='o') mode |= PROT_O;
    2532     opt++;
     2526  if ( l->name[0]!='\0')
     2527  {
     2528    if (v==NULL) opt="i";
     2529    else         opt=(char *)v->Data();
     2530    while(*opt!='\0')
     2531    {
     2532      if (*opt=='i') mode |= PROT_I;
     2533      else if (*opt=='o') mode |= PROT_O;
     2534      opt++;
     2535    }
    25332536  }
    25342537  if (((FILE*)l->data) == stdin) monitor(NULL,0);
Note: See TracChangeset for help on using the changeset viewer.