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: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #48326] mkstemp opens file in text mode on Windows (test printd fails)
Date: Tue, 12 Jul 2016 21:44:52 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40

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

Mike, with the patch,"test printd" PASSes 1 of 1 tests. Not bad for a
one-liner :-)

BTW what you call an "atomic operation" in comment #16 is rather an "atomic
function". Strictly speaking then I'd call mkstemp less unsafe than e.g.,:

fid = fopen (tempname (), "w+b");
fname = fopen (fid);


    _______________________________________________________

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]