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 21:33:17 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0

Follow-up Comment #17, bug #48326 (project octave):

Please try rebuilding the default branch with the attached patch. I think the
thing that was missing here was the Windows definition of the O_BINARY file
option, so it was defaulting to text.

The fdopen function takes the stream options to set whether binary mode is on
or off, but appears to have no effect, what matters is how the low-level file
descriptor was opened.

(file #37815)
    _______________________________________________________

Additional Item Attachment:

File name: bug-48326-binary.diff          Size:0 KB


    _______________________________________________________

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]