Commit e8c27bb3 authored by Guido van Rossum's avatar Guido van Rossum

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

parent 304474f3
...@@ -721,8 +721,8 @@ find_module(name, path, buf, buflen, p_fp) ...@@ -721,8 +721,8 @@ find_module(name, path, buf, buflen, p_fp)
) )
buf[len++] = SEP; buf[len++] = SEP;
#ifdef IMPORT_8x3_NAMES #ifdef IMPORT_8x3_NAMES
/* see if we are searching in directory dos_8x3 */ /* see if we are searching in directory dos-8x3 */
if (len > 7 && !strncmp(buf + len - 8, "dos_8x3", 7)){ if (len > 7 && !strncmp(buf + len - 8, "dos-8x3", 7)){
int j; int j;
char ch; /* limit name to 8 lower-case characters */ char ch; /* limit name to 8 lower-case characters */
for (j = 0; (ch = name[j]) && j < 8; j++) for (j = 0; (ch = name[j]) && j < 8; j++)
...@@ -731,7 +731,7 @@ find_module(name, path, buf, buflen, p_fp) ...@@ -731,7 +731,7 @@ find_module(name, path, buf, buflen, p_fp)
else else
buf[len++] = ch; buf[len++] = ch;
} }
else /* Not in dos_8x3, use the full name */ else /* Not in dos-8x3, use the full name */
#endif #endif
{ {
strcpy(buf+len, name); strcpy(buf+len, name);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment