summaryrefslogtreecommitdiff
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2007-08-16 14:35:24 +0000
committerSkip Montanaro <skip@pobox.com>2007-08-16 14:35:24 +0000
commitab8b51637031dc9747455f5496736af55757b74d (patch)
tree3b097dae9f2bc063d3fd1a2de91ae2540ccd67d0 /Python/sysmodule.c
parentba961667158615ef281cf9b39af33d41f0bf6de4 (diff)
downloadcpython-ab8b51637031dc9747455f5496736af55757b74d.tar.gz
Remove RISCOS support
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 245d22ad0c..542e624543 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -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 */