[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #33652] tmpfile () does not work on MinGW
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #33652] tmpfile () does not work on MinGW |
Date: |
Tue, 28 Jun 2011 02:12:07 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.19) Gecko/20110430 Iceweasel/3.5.19 (like Firefox/3.5.19) |
Follow-up Comment #4, bug #33652 (project octave):
Looking here:
http://msdn.microsoft.com/en-us/library/x8x7sakw%28v=vs.80%29.aspx
I see
The tmpfile function creates a temporary file and returns a pointer to that
stream. The temporary file is created in the root directory. To create a
temporary file in a directory other than the root, use tmpnam or tempnam in
conjunction with fopen.
Do you have permission to write in the "root directory"?
Also, why isn't the tmpfile function from gnulib being used? There seems to
be a version there for Windows, so I'm surprised that it is not used.
Hmm, maybe it is because we aren't asking for it. Can you please try the
attached changeset and see if it helps? You'll need to run autogen and
configure again after applying it
(file #23577)
_______________________________________________________
Additional Item Attachment:
File name: diffs.txt Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33652>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #33652] tmpfile () does not work on MinGW, Tatsuro MATSUOKA, 2011/06/26
- [Octave-bug-tracker] [bug #33652] tmpfile () does not work on MinGW, Tatsuro MATSUOKA, 2011/06/26
- [Octave-bug-tracker] [bug #33652] tmpfile () does not work on MinGW, John W. Eaton, 2011/06/27
- [Octave-bug-tracker] [bug #33652] tmpfile () does not work on MinGW, John W. Eaton, 2011/06/27
- [Octave-bug-tracker] [bug #33652] tmpfile () does not work on MinGW, Tatsuro MATSUOKA, 2011/06/27
- [Octave-bug-tracker] [bug #33652] tmpfile () does not work on MinGW,
John W. Eaton <=
- [Octave-bug-tracker] [bug #33652] tmpfile () does not work on MinGW, John W. Eaton, 2011/06/27
- [Octave-bug-tracker] [bug #33652] tmpfile () does not work on MinGW, Tatsuro MATSUOKA, 2011/06/28
- [Octave-bug-tracker] [bug #33652] tmpfile () does not work on MinGW, John W. Eaton, 2011/06/28
- [Octave-bug-tracker] [bug #33652] tmpfile () does not work on MinGW, Tatsuro MATSUOKA, 2011/06/29