aboutsummaryrefslogtreecommitdiffhomepage
path: root/gmime-filter-headers.h
diff options
context:
space:
mode:
authorGravatar Austin Clements <amdragon@MIT.EDU>2012-05-24 18:01:11 -0400
committerGravatar David Bremner <bremner@debian.org>2012-05-24 21:53:08 -0300
commitd99270c450d8f9ef3ecfbcbeeb99b581f36c9175 (patch)
treed68232b1f713e7de0b108452977be0bbedc02294 /gmime-filter-headers.h
parent72c944655f9bc29809dc2f64d206d942d2198f6f (diff)
new: Centralize file type stat-ing logic
This moves our logic to get a file's type into one function. This has several benefits: we can support OSes and file systems that do not provide dirent.d_type or always return DT_UNKNOWN, complex symlink-handling logic has been replaced by a simple stat fall-through in one place, and the error message for un-stat-able file is more accurate (previously, the error always mentioned directories, even though a broken symlink is not a directory).
Diffstat (limited to 'gmime-filter-headers.h')
0 files changed, 0 insertions, 0 deletions