diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-11-19 15:24:47 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-11-19 15:24:47 (GMT) |
commit | fb2765666f23434061e5def1aa8392797edf1f43 (patch) | |
tree | de935c5b77d6b50ad326dd41c94294ebd00e9cfa /Parser/myreadline.c | |
parent | 61963220666a79d5c1811991a31261a5d993bcdb (diff) | |
download | cpython-fb2765666f23434061e5def1aa8392797edf1f43.zip cpython-fb2765666f23434061e5def1aa8392797edf1f43.tar.gz cpython-fb2765666f23434061e5def1aa8392797edf1f43.tar.bz2 |
Getting rid of support for the ancient Apple MPW compiler.
Diffstat (limited to 'Parser/myreadline.c')
-rw-r--r-- | Parser/myreadline.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Parser/myreadline.c b/Parser/myreadline.c index fcc4667..fd2b4f4 100644 --- a/Parser/myreadline.c +++ b/Parser/myreadline.c @@ -123,13 +123,6 @@ PyOS_StdioReadline(FILE *sys_stdin, FILE *sys_stdout, char *prompt) *p = '\0'; break; } -#ifdef MPW - /* Hack for MPW C where the prompt comes right back in the input */ - /* XXX (Actually this would be rather nice on most systems...) */ - n = strlen(prompt); - if (strncmp(p, prompt, n) == 0) - memmove(p, p + n, strlen(p) - n + 1); -#endif n = strlen(p); while (n > 0 && p[n-1] != '\n') { size_t incr = n+2; |