Mercurial > octave-nkf
changeset 6725:dd930ff7f754
[project @ 2007-06-14 18:23:02 by jwe]
author | jwe |
---|---|
date | Thu, 14 Jun 2007 18:23:02 +0000 |
parents | 388747e3d96b |
children | 6b7ba4a31876 |
files | src/ChangeLog src/oct-procbuf.cc |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Thu Jun 14 17:04:53 2007 +0000 +++ b/src/ChangeLog Thu Jun 14 18:23:02 2007 +0000 @@ -1,5 +1,8 @@ 2007-06-14 John W. Eaton <jwe@octave.org> + * oct-procbuf.cc (procbuf::open): Open pipe in binary mode for + Windows. + * graphics.h (text::text_properties::rotation): New data member. * graphics.cc (text::text_properties::text_properties, text::text_properties::set, text::text_properties::get,
--- a/src/oct-procbuf.cc Thu Jun 14 17:04:53 2007 +0000 +++ b/src/oct-procbuf.cc Thu Jun 14 18:23:02 2007 +0000 @@ -74,7 +74,7 @@ if (is_open ()) return 0; - f = ::W32POPEN (command, (mode & std::ios::in) ? "r" : "w"); + f = ::W32POPEN (command, (mode & std::ios::in) ? "rb" : "wb"); if (! f) return 0;