]> granicus.if.org Git - mutt/commit
Only consider empty files non-existent for buffy's purpose.
authorYONETANI Tomokazu <qhwt+mutt@les.ath.cx>
Fri, 29 Aug 2008 08:23:28 +0000 (10:23 +0200)
committerYONETANI Tomokazu <qhwt+mutt@les.ath.cx>
Fri, 29 Aug 2008 08:23:28 +0000 (10:23 +0200)
commit75142320ebfbb7970cb8b1e93ba1dcc7c0ea28e6
treee6121f7bf3f66353660873a3a018adb8dc5b40a0
parenta1b4b0da0259a172f2429b1def0693dea15b16ca
Only consider empty files non-existent for buffy's purpose.

According to SUS, the st_size member of struct stat is undefined
for directories. In case a system reports 0, the newly_created
flag will be set for a directory and the magic will be cleared.

If the folder type is cleared, mutt won't check the folder for
new mail and thus will ignore MH and Maildir type folders on
such a fs completely (e.g. the HAMMER fs on DragonFly BSD).
ChangeLog
buffy.c