Update of /cvsroot/cscope/cscope/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24815/src
Modified Files:
dir.c
Log Message:
fixing srcfiles to only include readable files (sourceforge bug 1040690)
Index: dir.c
===================================================================
RCS file: /cvsroot/cscope/cscope/src/dir.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** dir.c 23 Jun 2004 15:41:59 -0000 1.21
--- dir.c 8 Dec 2004 21:23:03 -0000 1.22
***************
*** 514,518 ****
&& issrcfile(path)
&& infilelist(path) == NO) {
! addsrcfile(path);
}
}
--- 514,519 ----
&& issrcfile(path)
&& infilelist(path) == NO) {
! if(access(path,R_OK) == 0)
! addsrcfile(path);
}
}
|