Revision: 9676 http://pure-data.svn.sourceforge.net/pure-data/?rev=9676&view=rev Author: matju Date: 2008-04-02 19:13:13 -0700 (Wed, 02 Apr 2008)
Log Message: ----------- test
Modified Paths: -------------- trunk/desiredata/src/desire.c
Modified: trunk/desiredata/src/desire.c =================================================================== --- trunk/desiredata/src/desire.c 2008-04-02 18:35:06 UTC (rev 9675) +++ trunk/desiredata/src/desire.c 2008-04-03 02:13:13 UTC (rev 9676) @@ -7025,7 +7025,7 @@ char *dirbuf; char *nameptr; int fd = open_via_path2(dirname,filename,"",&dirbuf,&nameptr,0); - if (!fd) {error("%s: can't open", filename); return;} + if (fd<0) {error("%s: can't open", filename); return;} close(fd); glob_evalfile(0, gensym(nameptr), gensym(dirbuf)); free(dirbuf);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.