mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +00:00
Oops! Should've renamed dos_8x3 to dos-8x3 here, too.
This commit is contained in:
parent
304474f315
commit
e8c27bb3ea
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||||
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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue