[Dune] [#912] Dune on MinGW

Dr. Olaf Ippisch olaf.ippisch at iwr.uni-heidelberg.de
Tue May 10 12:19:52 CEST 2011


The Problem is that the file needs to be directly opened for the method
to be safe. So it would be necessary to have a function which directly
opens the file with mkstemp and returns a file pointer. This would be
safe. For Posix compatibility one could divert to a less safe version
using tmpnam.

Regards,
Olaf

Am 10.05.2011 11:31, schrieb Dune:
> THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
> 
> The following task has a new comment added:
> 
> FS#912 - Dune on MinGW
> User who did this - Andreas Dedner (dedner)
> 
> ----------
> But I think a linker warning is no option either...
> What are other possibilities for generating temporary files
> except using msktemp? Perhaps using the pid? would getpid
> work on MinGW?
> ----------
> 
> More information can be found at the following URL:
> http://www.dune-project.org/flyspray/index.php?do=details&task_id=912#comment2541
> 
> 
> You are receiving this message because you have requested it from the
> Flyspray bugtracking system.  If you did not expect this message or
> don't want to receive mails in future, you can change your notification
> settings at the URL shown above.
> 
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
> 

-- 
Dr. Olaf Ippisch
Universität Heidelberg
Interdisziplinäres Zentrum für Wissenschaftliches Rechnen
Im Neuenheimer Feld 368, Raum 4.24
Tel: 06221/548252   Fax: 06221/548884
Mail: Im Neuenheimer Feld 368, 69120 Heidelberg
e-mail: <olaf.ippisch at iwr.uni-heidelberg.de>

In physics the truth is rarely perfectly clear, and that is certainly
universally the case in human affairs.  Hence, what is not surrounded
by uncertainty cannot be the truth. (Richard Feynman)




More information about the Dune mailing list