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?

(Note to self: the error reporting for Guile errors sucks.  Fix it.)

                          Peter

-- 
Peter Brett

Electronic Systems Engineer
Integral Informatics Ltd

Attachment: signature.asc
Description: This is a digitally signed message part.


_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to