Changeset a3bc95e in git for Singular/utils.cc
- Timestamp:
- Oct 9, 2001, 6:36:27 PM (23 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 7497ef3773fc1afff892546445b1d82b1cf0fb05
- Parents:
- e58c4abd91b68d128331a23f3f9dd76dff924048
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/utils.cc
re58c4a ra3bc95e 32 32 exit(1); 33 33 } 34 34 35 35 static char* lib_file = NULL; 36 36 … … 70 70 } 71 71 if (texinfo_out || category_out) lpverbose = 0; 72 72 73 73 if(lib_file!=NULL) { 74 74 yylpin = fopen( lib_file, "rb" ); 75 if (! (texinfo_out || category_out)) 75 if (! (texinfo_out || category_out)) 76 76 printf("Checking library '%s'\n", lib_file); 77 77 else if (! category_out) … … 80 80 while(argc>fe_optind && yylpin==NULL) { 81 81 yylpin = fopen( argv[fe_optind], "rb" ); 82 if(yylpin!=NULL) 82 if(yylpin!=NULL) 83 83 { 84 84 lib_file = argv[fe_optind]; … … 155 155 if (pos_start <= 0 || pos_end - pos_start <= 4) return; 156 156 char c = 0; 157 157 158 158 fseek(fd, pos_start, SEEK_SET); 159 while (pos_start++ <= pos_end) 159 while (pos_start++ <= pos_end) 160 160 { 161 161 if (c == '\\') … … 180 180 FILE *fp = fopen( lib_file, "rb"); 181 181 182 if (fp == NULL) 182 if (fp == NULL) 183 183 { 184 184 printf("Can not open %s\n", lib_file); … … 232 232 } 233 233 } 234 234 235 235 if (fp != NULL) fclose(fp); 236 236
Note: See TracChangeset
for help on using the changeset viewer.