From: Peter Maydell Date: Tue, 5 Aug 2008 21:06:00 +0000 (+0000) Subject: uip/folder.c: chdir(nmhdir) in main rather than in dodir, which X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/9be69008c0dd066816b4a9b04d47fade2282664a?hp=9be69008c0dd066816b4a9b04d47fade2282664a 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. ---