Ticket #35549: patch-src-filehandling_functions.c.diff
File patch-src-filehandling_functions.c.diff, 505 bytes (added by master@…, 12 years ago) |
---|
-
src/filehandling_functions.c
old new 200 202 } 201 203 202 204 /* if we haven't found anything, clean up and exit */ 203 if ( !goodHit)205 if ( id && !goodHit ) 204 206 { 205 207 fclose(id); 206 208 id = 0; … … 742 744 int i, j; 743 745 char *tmpfilename; 744 746 745 if (strncmp(filename, "dir", 3) == 0 )747 if (strncmp(filename, "dir", 3) == 0 && !isalnum(filename[3])) 746 748 { 747 749 xfree(buf); 748 750 return opendirfile(number);