Mercurial > cpython-lru_cache-weakref
diff Python/import.c @ 6907:9ec6e0a8f353 legacy-trunk
Oops! Should've renamed dos_8x3 to dos-8x3 here, too.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 17 Dec 1997 18:57:16 +0000 |
| parents | 0a3c7402d395 |
| children | f063f1eb2964 |
line wrap: on
line diff
--- a/Python/import.c Wed Dec 17 15:30:07 1997 +0000 +++ b/Python/import.c Wed Dec 17 18:57:16 1997 +0000 @@ -721,8 +721,8 @@ ) 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 @@ 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);
