Mercurial > octave-nkf
diff src/syscalls.cc @ 4327:c29c382a5b4b
[project @ 2003-02-16 03:24:26 by jwe]
author | jwe |
---|---|
date | Sun, 16 Feb 2003 03:24:26 +0000 |
parents | 755f6509bb01 |
children | c14ec945fabb |
line wrap: on
line diff
--- a/src/syscalls.cc Sat Feb 15 23:14:47 2003 +0000 +++ b/src/syscalls.cc Sun Feb 16 03:24:26 2003 +0000 @@ -671,8 +671,13 @@ FILE *ifile = fdopen (fid[0], "r"); FILE *ofile = fdopen (fid[1], "w"); - octave_stream is = octave_istdiostream::create (std::string (), ifile); - octave_stream os = octave_ostdiostream::create (std::string (), ofile); + std::string nm; + + octave_stream is = octave_stdiostream::create (nm, ifile, + std::ios::in); + + octave_stream os = octave_stdiostream::create (nm, ofile, + std::ios::out); octave_value_list file_ids;