mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Remove RISCOS support
This commit is contained in:
parent
c5aba17447
commit
7a98be2efb
62 changed files with 106 additions and 3823 deletions
|
@ -92,7 +92,6 @@ zipimporter_init(ZipImporter *self, PyObject *args, PyObject *kwds)
|
|||
path = NULL;
|
||||
prefix = NULL;
|
||||
for (;;) {
|
||||
#ifndef RISCOS
|
||||
struct stat statbuf;
|
||||
int rv;
|
||||
|
||||
|
@ -104,15 +103,6 @@ zipimporter_init(ZipImporter *self, PyObject *args, PyObject *kwds)
|
|||
path = buf;
|
||||
break;
|
||||
}
|
||||
#else
|
||||
if (object_exists(buf)) {
|
||||
/* it exists */
|
||||
if (isfile(buf))
|
||||
/* it's a file */
|
||||
path = buf;
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
/* back up one path element */
|
||||
p = strrchr(buf, SEP);
|
||||
if (prefix != NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue