From: epg <> Date: Mon, 26 Apr 2004 16:19:58 +0000 (+0000) Subject: (getfiles): Just return readdir results, don't strip . and .. and X-Git-Url: https://diplodocus.org/git/minc/commitdiff_plain/0b8495aec177de33bb6ff4c19b63450b6a6bff44?ds=inline;hp=0b8495aec177de33bb6ff4c19b63450b6a6bff44 (getfiles): Just return readdir results, don't strip . and .. and don't return absolute paths. We walk the file list enough times already, there's no need to walk it for this. (filter_mail): Skip . and .. in the @msglist. (MAIN): Instead of passing getfiles $MAILDIR/new, chdir there and pass '.'. ---