Changeset 0af1d53 in git for Singular/checklibs.c
- Timestamp:
- Oct 6, 2010, 2:41:52 PM (14 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- ea87a93050cdcca11afbc852bd15cf611cbd502b
- Parents:
- 0a6dbf2665b5ad31a041853cc76ea29bb4e36f93
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/checklibs.c
r0a6dbf r0af1d53 68 68 { 69 69 if (strlen(s)<4) 70 70 printf("error: minimal length of a procedure name is 4: %s\n",s); 71 71 proc[proc_cnt]=strdup(s); proc_cnt++; 72 72 } … … 204 204 /* check for other allowed sections: REFERENCES*/ 205 205 if ((ch!=10)||(strncmp(pp,"REFERENCES",10)!=0)) 206 206 { 207 207 printf("error: unknown section in library header: %s",buf); 208 208 have_other++; 209 209 } 210 210 if (have_PROCEDURES!=0) 211 211 printf("error: only KEYWORDS/SEE ALSO may follow PROCEDURES\n"); … … 289 289 { 290 290 have_version++; 291 pp=p+8; 292 while((*pp)==' ') pp++); 293 if (((*pp)!='"') || (strstr(pp,"$Id")==NULL)) 294 printf("error: version string should start with $""Id"); 291 pp=p+8; 292 while((*pp)==' ') pp++; 293 if (((*pp)!='"') || (strstr(pp,"$Id")==NULL)) 294 printf("error: version string should start with $""Id"); 295 } 295 296 } 296 297 if ((p=strstr(buf,"category="))!=NULL) … … 368 369 if(strcmp(proc[i],pp)==0) break; 369 370 } 370 if (i<0) 371 if (i<0) 371 372 { 372 373 printf("hint: global proc %s not found in header\n",pp);
Note: See TracChangeset
for help on using the changeset viewer.