Changeset 814f03 in git
- Timestamp:
- Mar 11, 2009, 4:26:00 PM (14 years ago)
- Branches:
- (u'spielwiese', '8d54773d6c9e2f1d2593a28bc68b7eeab54ed529')
- Children:
- 8ee3f2d6e66a708230a1e7f07ce23dfef50f141d
- Parents:
- eee873799255b9786c3fa719d4fc2fdeb05bc1f7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iparith.cc
reee873 r814f03 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: iparith.cc,v 1.50 0 2009-03-11 09:43:29Singular Exp $ */4 /* $Id: iparith.cc,v 1.501 2009-03-11 15:26:00 Singular Exp $ */ 5 5 6 6 /* … … 2523 2523 SI_LINK_SET_CLOSE_P(l); // febase handles the FILE* 2524 2524 char *opt; 2525 if (v==NULL) opt="i";2526 else opt=(char *)v->Data();2527 2525 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 } 2533 2536 } 2534 2537 if (((FILE*)l->data) == stdin) monitor(NULL,0);
Note: See TracChangeset
for help on using the changeset viewer.