summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2004-11-18 08:57:25 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2004-11-18 08:57:25 +0000
commitd9f844f3ddbe371952f38ac166340a8f9aead78d (patch)
tree67d501156d5e01ff5ceaab54de65a9ff3255b2fb /dev-util/cscope/files
parentresurrect openmotif-2.1.30-r4.ebuild for mips (Manifest recommit) (diff)
downloadgentoo-2-d9f844f3ddbe371952f38ac166340a8f9aead78d.tar.gz
gentoo-2-d9f844f3ddbe371952f38ac166340a8f9aead78d.tar.bz2
gentoo-2-d9f844f3ddbe371952f38ac166340a8f9aead78d.zip
*** empty log message ***
Diffstat (limited to 'dev-util/cscope/files')
-rw-r--r--dev-util/cscope/files/15.5-noclobber-tempfile-rexotec.patch31
-rw-r--r--dev-util/cscope/files/digest-cscope-15.5-r11
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-util/cscope/files/15.5-noclobber-tempfile-rexotec.patch b/dev-util/cscope/files/15.5-noclobber-tempfile-rexotec.patch
new file mode 100644
index 000000000000..38bd9ec3cd89
--- /dev/null
+++ b/dev-util/cscope/files/15.5-noclobber-tempfile-rexotec.patch
@@ -0,0 +1,31 @@
+diff -Naurp src/build.c src/build.c
+--- src/build.c 2003-03-05 11:43:59.000000000 +0100
++++ src/build.c 2004-11-17 15:01:01.000000000 +0100
+@@ -333,7 +333,7 @@ build(void)
+ (void) fprintf(stderr, "cscope: cannot open file %s\n", reffile);
+ myexit(1);
+ }
+- if (invertedindex == YES && (postings = myfopen(temp1, "wb")) == NULL) {
++ if (invertedindex == YES && (postings = myfopen(temp1, "w+xb")) == NULL) {
+ cannotwrite(temp1);
+ cannotindex();
+ }
+diff -Naurp src_old/display.c src/display.c
+--- src/display.c 2003-09-04 17:54:02.000000000 +0200
++++ src/display.c 2004-11-17 15:01:01.000000000 +0100
+@@ -754,13 +754,13 @@ BOOL
+ writerefsfound(void)
+ {
+ if (refsfound == NULL) {
+- if ((refsfound = myfopen(temp1, "wb")) == NULL) {
++ if ((refsfound = myfopen(temp1, "w+xb")) == NULL) {
+ cannotopen(temp1);
+ return(NO);
+ }
+ } else {
+ (void) fclose(refsfound);
+- if ( (refsfound = myfopen(temp1, "wb")) == NULL) {
++ if ( (refsfound = myfopen(temp1, "w+xb")) == NULL) {
+ postmsg("Cannot reopen temporary file");
+ return(NO);
+ }
diff --git a/dev-util/cscope/files/digest-cscope-15.5-r1 b/dev-util/cscope/files/digest-cscope-15.5-r1
new file mode 100644
index 000000000000..99cb973ef8e3
--- /dev/null
+++ b/dev-util/cscope/files/digest-cscope-15.5-r1
@@ -0,0 +1 @@
+MD5 beb6032a301bb11524aec74bfb5e4840 cscope-15.5.tar.gz 243793