fixing bz 133942
This commit is contained in:
parent
875fc3b56f
commit
cdfea3c961
@ -1 +1,2 @@
|
|||||||
cscope-15.5.tar.gz
|
cscope-15.5.tar.gz
|
||||||
|
cscope-15.5-inverted.patch
|
||||||
|
15
cscope-15.5-inverted.patch
Normal file
15
cscope-15.5-inverted.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
--- cscope-15.5/src/dir.c.orig 2004-09-28 14:43:17.706427680 -0400
|
||||||
|
+++ cscope-15.5/src/dir.c 2004-09-28 15:29:27.566344968 -0400
|
||||||
|
@@ -504,7 +505,11 @@
|
||||||
|
#endif
|
||||||
|
&& issrcfile(mybasename(path))
|
||||||
|
&& infilelist(path) == NO) {
|
||||||
|
- addsrcfile(path);
|
||||||
|
+ /* if the file is a symlink, make sure
|
||||||
|
+ * it points to a real file */
|
||||||
|
+ if(S_ISREG(buf.st_mode) ||
|
||||||
|
+ (S_ISLNK(buf.st_mode) && (stat(path,&buf) == 0)))
|
||||||
|
+ addsrcfile(path);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -1,7 +1,7 @@
|
|||||||
Summary: C source code tree search and browse tool
|
Summary: C source code tree search and browse tool
|
||||||
Name: cscope
|
Name: cscope
|
||||||
Version: 15.5
|
Version: 15.5
|
||||||
Release: 1
|
Release: 2
|
||||||
Source0: http://unc.dl.sourceforge.net/sourceforge/cscope/cscope-15.5.tar.gz
|
Source0: http://unc.dl.sourceforge.net/sourceforge/cscope/cscope-15.5.tar.gz
|
||||||
URL: http://cscope.sourceforge.net
|
URL: http://cscope.sourceforge.net
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -17,6 +17,7 @@ Patch0:cscope-15.5-ocs.patch
|
|||||||
Patch1:cscope-15.5-findassign.patch
|
Patch1:cscope-15.5-findassign.patch
|
||||||
Patch2:cscope-15.5-ocs-dash_s_fix.patch
|
Patch2:cscope-15.5-ocs-dash_s_fix.patch
|
||||||
Patch3:cscope-15.5-xcscope-man.patch
|
Patch3:cscope-15.5-xcscope-man.patch
|
||||||
|
Patch4:cscope-15.5-inverted.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
cscope is a mature, ncurses based, C source code tree browsing tool. It
|
cscope is a mature, ncurses based, C source code tree browsing tool. It
|
||||||
@ -31,6 +32,7 @@ matches for use in file editing.
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
|
%patch4 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
@ -79,6 +81,9 @@ rm -f %{xemacs_lisp_path}/xcscope.el
|
|||||||
rm -f %{emacs_lisp_path}/xcscope.el
|
rm -f %{emacs_lisp_path}/xcscope.el
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 28 2004 Neil Horman <nhorman@redhat.com>
|
||||||
|
- fixed inverted index bug (bz 133942)
|
||||||
|
|
||||||
* Mon Sep 13 2004 Frank Ch. Eigler <fche@redhat.com>
|
* Mon Sep 13 2004 Frank Ch. Eigler <fche@redhat.com>
|
||||||
- bumped release number to a plain "1"
|
- bumped release number to a plain "1"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user