diff options
author | N.N. <matju@users.sourceforge.net> | 2008-04-03 02:13:13 +0000 |
---|---|---|
committer | N.N. <matju@users.sourceforge.net> | 2008-04-03 02:13:13 +0000 |
commit | 1a65d042062d50630bf9a479227d98fe0557bf96 (patch) | |
tree | 1130f72f3203fd50703afdd437819361fb7b13a4 /desiredata | |
parent | 83f3fa4a0dda4bcdaac9cf6523cb40e719232649 (diff) |
test
svn path=/trunk/; revision=9676
Diffstat (limited to 'desiredata')
-rw-r--r-- | desiredata/src/desire.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desiredata/src/desire.c b/desiredata/src/desire.c index cc04ad5e..345527c6 100644 --- a/desiredata/src/desire.c +++ b/desiredata/src/desire.c @@ -7025,7 +7025,7 @@ static void openit(const char *dirname, const char *filename) { 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); |