summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-01-20 14:31:08 +0000
committerBenjamin Peterson <benjamin@python.org>2009-01-20 14:31:08 +0000
commit8024cece5907563dd74b952f370e027439f77e02 (patch)
treef8104c9834f31a5577e34429b23183f7223d5552
parente18ef194d93afe9480ea7bd1da24d3636b81f2b3 (diff)
downloadcpython-git-8024cece5907563dd74b952f370e027439f77e02.tar.gz
backport r68802 (bugfix)
-rw-r--r--Modules/_fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_fileio.c b/Modules/_fileio.c
index 0f09ecd8a3..2a86e07e43 100644
--- a/Modules/_fileio.c
+++ b/Modules/_fileio.c
@@ -566,7 +566,7 @@ portable_lseek(int fd, PyObject *posobj, int whence)
#if SEEK_CUR != 1
case 1: whence = SEEK_CUR; break;
#endif
-#if SEEL_END != 2
+#if SEEK_END != 2
case 2: whence = SEEK_END; break;
#endif
}