]> git.notmuchmail.org Git - notmuch/commit
notmuch new: Fix regression preventing addition of symlinked mail files.
authorCarl Worth <cworth@cworth.org>
Wed, 6 Jan 2010 18:30:08 +0000 (10:30 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 6 Jan 2010 18:48:43 +0000 (10:48 -0800)
commit39e81ca431906370d0fee351419e1314e57a7c58
treef7e2c82e77e260371d1f15e4fea9435d0d977be8
parent49f09958df22f80e4058b6f2892f6224a80c3d6d
notmuch new: Fix regression preventing addition of symlinked mail files.

As described in the previous commit message, we introduced multiple
symlink-based regressions in commit
3df737bc4addfce71c647792ee668725e5221a98

Here, we fix the case of symlinks to regular files by doing an extra
stat of any DT_LNK files to determine if they do, in fact, link to
regular files.
notmuch-new.c