Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e8c27bb

Browse files
committed
Oops! Should've renamed dos_8x3 to dos-8x3 here, too.
1 parent 304474f commit e8c27bb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Python/import.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -721,8 +721,8 @@ find_module(name, path, buf, buflen, p_fp)
721721
)
722722
buf[len++] = SEP;
723723
#ifdef IMPORT_8x3_NAMES
724-
/* see if we are searching in directory dos_8x3 */
725-
if (len > 7 && !strncmp(buf + len - 8, "dos_8x3", 7)){
724+
/* see if we are searching in directory dos-8x3 */
725+
if (len > 7 && !strncmp(buf + len - 8, "dos-8x3", 7)){
726726
int j;
727727
char ch; /* limit name to 8 lower-case characters */
728728
for (j = 0; (ch = name[j]) && j < 8; j++)
@@ -731,7 +731,7 @@ find_module(name, path, buf, buflen, p_fp)
731731
else
732732
buf[len++] = ch;
733733
}
734-
else /* Not in dos_8x3, use the full name */
734+
else /* Not in dos-8x3, use the full name */
735735
#endif
736736
{
737737
strcpy(buf+len, name);

0 commit comments

Comments
 (0)