Oops! Should've renamed dos_8x3 to dos-8x3 here, too.

This commit is contained in:
Guido van Rossum 1997-12-17 18:57:16 +00:00
parent 304474f315
commit e8c27bb3ea
1 changed files with 3 additions and 3 deletions

View File

@ -721,8 +721,8 @@ find_module(name, path, buf, buflen, p_fp)
)
buf[len++] = SEP;
#ifdef IMPORT_8x3_NAMES
/* see if we are searching in directory dos_8x3 */
if (len > 7 && !strncmp(buf + len - 8, "dos_8x3", 7)){
/* see if we are searching in directory dos-8x3 */
if (len > 7 && !strncmp(buf + len - 8, "dos-8x3", 7)){
int j;
char ch; /* limit name to 8 lower-case characters */
for (j = 0; (ch = name[j]) && j < 8; j++)
@ -731,7 +731,7 @@ find_module(name, path, buf, buflen, p_fp)
else
buf[len++] = ch;
}
else /* Not in dos_8x3, use the full name */
else /* Not in dos-8x3, use the full name */
#endif
{
strcpy(buf+len, name);