Changeset d11bb1 in git for Singular/fehelp.cc
- Timestamp:
- Sep 13, 2004, 5:41:33 PM (20 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 74162eba2d3f35dd123f55f9ab68878f90f46f29
- Parents:
- fd19918f854ac98e47302698e9bddb1987360d33
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/fehelp.cc
rfd19918 rd11bb1 4 4 /* 5 5 * ABSTRACT: help system 6 * versin $Id: fehelp.cc,v 1.3 8 2003-05-31 14:13:06Singular Exp $6 * versin $Id: fehelp.cc,v 1.39 2004-09-13 15:41:33 Singular Exp $ 7 7 */ 8 8 … … 30 30 * 31 31 *****************************************************************/ 32 #define MAX_HE_ENTRY_LENGTH 6032 #define MAX_HE_ENTRY_LENGTH 160 33 33 typedef struct 34 34 { … … 607 607 fd = fopen(filename, "r"); 608 608 if (fd == NULL) return 0; 609 memset(index_key,0,MAX_HE_ENTRY_LENGTH); 609 610 while (fscanf(fd, "%[^\t]\t%*[^\n]\n", index_key) == 1) 610 611 { 611 if (strmatch(index_key, key)) 612 if (index_key[MAX_HE_ENTRY_LENGTH]!='\0') 613 { 614 WerrorS("index file corrupt"); 615 break; 616 } 617 else if (strmatch(index_key, key)) 612 618 { 613 619 i++;
Note: See TracChangeset
for help on using the changeset viewer.