diff Python/sysmodule.c @ 42622:4d2aa4bfb2d6

Remove RISCOS support
author Skip Montanaro <skip@pobox.com>
date Thu, 16 Aug 2007 14:35:24 +0000
parents 6727cc9ed09f
children 8bad8722f0e6
line wrap: on
line diff
--- a/Python/sysmodule.c	Thu Aug 16 08:08:41 2007 +0000
+++ b/Python/sysmodule.c	Thu Aug 16 14:35:24 2007 +0000
@@ -1290,11 +1290,7 @@
 			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 */