Let ISCACHED check for file existence with access(2). If an error occurs
commit158955814ea72e539968808d2bf6ed95e98b7780
authorBen Kibbey <bjk@luxsci.net>
Fri, 3 Apr 2009 00:06:43 +0000 (2 20:06 -0400)
committerBen Kibbey <bjk@luxsci.net>
Fri, 3 Apr 2009 00:06:43 +0000 (2 20:06 -0400)
tree2d8b544f51f5f0805ae5daae4fa44dd54b6362f7
parente25cadd6ce19edc5bc96b2c29a9539887863d196
Let ISCACHED check for file existence with access(2). If an error occurs
accessing the file return the errno.

Also make sure the filename is a valid one with valid_filename().
src/commands.c