mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
Remove RISCOS support
This commit is contained in:
parent
c5aba17447
commit
7a98be2efb
62 changed files with 106 additions and 3823 deletions
|
@ -1290,11 +1290,7 @@ PySys_SetArgv(int argc, char **argv)
|
|||
p = strrchr(argv0, SEP);
|
||||
}
|
||||
if (p != NULL) {
|
||||
#ifndef RISCOS
|
||||
n = p + 1 - argv0;
|
||||
#else /* don't include trailing separator */
|
||||
n = p - argv0;
|
||||
#endif /* RISCOS */
|
||||
#if SEP == '/' /* Special case for Unix filename syntax */
|
||||
if (n > 1)
|
||||
n--; /* Drop trailing separator */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue