summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-06-20 14:18:34 (GMT)
committerGuido van Rossum <guido@python.org>1996-06-20 14:18:34 (GMT)
commit0e41c8c8485def35d30d56ba8420641472e273e1 (patch)
treef12b6efb264fa633492c3e657db8e969acec5a9b /Python
parentfd03e2b4b1196b8ad2985ecc69947c044d6e27c6 (diff)
downloadcpython-0e41c8c8485def35d30d56ba8420641472e273e1.zip
cpython-0e41c8c8485def35d30d56ba8420641472e273e1.tar.gz
cpython-0e41c8c8485def35d30d56ba8420641472e273e1.tar.bz2
Cosmetic change to the dox_8x3 hack.
Diffstat (limited to 'Python')
-rw-r--r--Python/import.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/Python/import.c b/Python/import.c
index a3803a2..12a2c30 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -462,13 +462,12 @@ 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 */
+#else
+ {
strcpy(buf+len, name);
len += namelen;
}
-#else
- strcpy(buf+len, name);
- len += namelen;
#endif
for (fdp = import_filetab; fdp->suffix != NULL; fdp++) {
strcpy(buf+len, fdp->suffix);