uip/folder.c: chdir(nmhdir) in main rather than in dodir, which
authorPeter Maydell <pmaydell@chiark.greenend.org.uk>
Tue, 5 Aug 2008 21:06:00 +0000 (21:06 +0000)
committerPeter Maydell <pmaydell@chiark.greenend.org.uk>
Tue, 5 Aug 2008 21:06:00 +0000 (21:06 +0000)
commit9be69008c0dd066816b4a9b04d47fade2282664a
tree58ad48dd3c3cabf3b448e010800f946f481401af
parentf7c1a8a53c452b75aa84ff4bf9de7f47af7b881c
uip/folder.c: chdir(nmhdir) in main rather than in dodir, which
is called many times.  Drop the chdir in get_folder_info, which
served no purpose at all.  If struct stat has d_type (BSD), use
that to skip processing (strcmp, stat, and so on) of message
files, mostly undoing the slow-down from the last change.
Plus autoconf machinery to detect d_type field. Patch from Eric Gillespie.
ChangeLog
aclocal.m4
configure.in
uip/folder.c