#2963: optimization: link() can be used in e.g. mbox-hook for maildirs
--------------------------+----------------------
  Reporter:  Safari       |      Owner:  mutt-dev
      Type:  enhancement  |     Status:  new
  Priority:  minor        |  Milestone:
 Component:  maildir/mh   |    Version:
Resolution:               |   Keywords:
--------------------------+----------------------

Comment (by vinc17):

 There is a race condition, and I wonder whether you can guarantee that
 Mutt will not die for some reason between the two calls. This could even
 be more visible under NFS. Moreover, the return code of the {{{link}}}
 system call may be wrong under NFS.

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

Reply via email to