Changeset 4a0a5d5 in git
- Timestamp:
- Jun 5, 2000, 2:23:10 PM (24 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 5ce07936033d823db35487445a4286b4a3a3f94b
- Parents:
- 0bcebab457fea8b759de0450976f3d0b3423072a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/febase.cc
r0bcebab r4a0a5d5 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: febase.cc,v 1.8 6 2000-04-27 10:07:06 obachmanExp $ */4 /* $Id: febase.cc,v 1.87 2000-06-05 12:23:10 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: i/o system … … 15 15 #include <limits.h> 16 16 #include <stdarg.h> 17 #include <sys/stat.h> 17 18 #ifndef __MWERKS__ 18 19 #include <unistd.h> … … 139 140 FILE * f=NULL; 140 141 if (! path_only) 141 f = myfopen(path,mode); 142 { 143 struct stat statbuf; 144 if ((stat(path,&statbuf)==0) 145 && (S_ISREG(statbuf.st_mode))) 146 f = myfopen(path,mode); 147 } 142 148 if (where!=NULL) strcpy(where,path); 143 149 if ((*mode=='r') &&
Note: See TracChangeset
for help on using the changeset viewer.