#3638: Compilation errors for 1.6
-----------------------+----------------------
  Reporter:  grarpamp  |      Owner:  mutt-dev
      Type:  defect    |     Status:  new
  Priority:  major     |  Milestone:  1.6
 Component:  mutt      |    Version:  1.5.21
Resolution:            |   Keywords:
-----------------------+----------------------

Comment (by vinc17):

 Actually mkstemp() is not safe either if a suffix needs to be used: there
 is no guarantee that the filename with the suffix appended isn't already
 used, and there's a possible race condition. mkstemps must be used
 instead, but it is not standard and may not exist on some systems.

 In any case, are these functions guaranteed to be NFS safe? It doesn't
 seem so (O_EXCL is not sufficient with pre-NFSv3).

 Mutt should probably have its own implementation.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3638#comment:5>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to