diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-07-10 01:18:57 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-07-10 01:18:57 (GMT) |
commit | 2a30cd0ef0673710a1a4e188b50c11026c403b2a (patch) | |
tree | a95d41411e8f7d39a0fa6b6b73f99fc93573d8ea /Modules/bz2module.c | |
parent | 4a5fbda66d3132af761e32e164ed398977f51694 (diff) | |
download | cpython-2a30cd0ef0673710a1a4e188b50c11026c403b2a.zip cpython-2a30cd0ef0673710a1a4e188b50c11026c403b2a.tar.gz cpython-2a30cd0ef0673710a1a4e188b50c11026c403b2a.tar.bz2 |
Patch #1516912: improve Modules support for OpenVMS.
Diffstat (limited to 'Modules/bz2module.c')
-rw-r--r-- | Modules/bz2module.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/bz2module.c b/Modules/bz2module.c index 8f4e1d8..5800bff 100644 --- a/Modules/bz2module.c +++ b/Modules/bz2module.c @@ -1311,7 +1311,11 @@ BZ2File_init(BZ2FileObject *self, PyObject *args, PyObject *kwargs) break; case 'U': +#ifdef __VMS + self->f_univ_newline = 0; +#else self->f_univ_newline = 1; +#endif break; default: |