octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #48326] mkstemp opens file in text mode on Win


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #48326] mkstemp opens file in text mode on Windows (test printd fails)
Date: Mon, 11 Jul 2016 17:00:14 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0

Update of bug #48326 (project octave):

                 Summary: test printd fails in Win-7 => mkstemp opens file in
text mode on Windows (test printd fails)

    _______________________________________________________

Follow-up Comment #12:

Yes, I think that was evident from


debug: supposedly writing to output file 217 bytes
numbytes =  217
debug: after writing to temp file oct-FJAr0M, size = 224 bytes


Retitled to problem that needs fixing.

If you call "freport" after opening a file with mkstemp, it shows it listed as
binary mode ("w+b"), right? So the error is probably lower in the libraries,
maybe the fdopen() function on Windows is failing to set the open mode to
binary but not throwing an error.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48326>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]