summaryrefslogtreecommitdiffstats
path: root/Python/import.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-12-17 18:57:16 (GMT)
committerGuido van Rossum <guido@python.org>1997-12-17 18:57:16 (GMT)
commite8c27bb3eabe0550f4ddaf652bd8ebda23876d4e (patch)
treea3d47203acc268571a2856c05f9b63b304ab423e /Python/import.c
parent304474f315dbd84508c818ad1f6ab9bbf8229367 (diff)
downloadcpython-e8c27bb3eabe0550f4ddaf652bd8ebda23876d4e.zip
cpython-e8c27bb3eabe0550f4ddaf652bd8ebda23876d4e.tar.gz
cpython-e8c27bb3eabe0550f4ddaf652bd8ebda23876d4e.tar.bz2
Oops! Should've renamed dos_8x3 to dos-8x3 here, too.
Diffstat (limited to 'Python/import.c')
-rw-r--r--Python/import.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/import.c b/Python/import.c
index 4cd8ed7..8e47ee9 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -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);