On Wed, 2007-10-03 at 22:51 +0100, Peter TB Brett wrote: > On Tuesday 02 October 2007 11:17:26 Peter Clifton wrote: > > > > In load-scheme-dir you don't check if scheme-dir is a directory, merely > > > whether it exists. What does (opendir scheme-dir) do if scheme-dir is, > > > say, a device? > > > > I've added a directory check, and an (access? path R_OK) check to ensure > > its readable. It still gives: > > > > "Probably parenthesis mismatch in /home/pcjc2/geda/share/gEDA/system-gafrc" > > > > if gafrc.d is readable, but not executable - however I wasn't sure if > > adding X_OK was particularly portable. > > That's a fairly pathological case. Should that be as a comment in the > system-gafrc file?
It could be... but I'm not going to add it ;) (Leave some debugging fun for whoever manages to munge their directory permissions that badly - there would probably be more serious issues they trip over first, assuming its not just that one dir which is borked). Peter _______________________________________________ geda-dev mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev
