summaryrefslogtreecommitdiff
path: root/devel/cscope/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cscope/patches/patch-ae')
-rw-r--r--devel/cscope/patches/patch-ae22
1 files changed, 0 insertions, 22 deletions
diff --git a/devel/cscope/patches/patch-ae b/devel/cscope/patches/patch-ae
deleted file mode 100644
index d0617df3b56..00000000000
--- a/devel/cscope/patches/patch-ae
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ae,v 1.10 2007/01/06 22:45:49 wiz Exp $
-
---- src/build.c.orig 2006-09-30 10:13:00.000000000 +0200
-+++ src/build.c
-@@ -223,7 +223,7 @@ build(void)
- if (strcmp(currentdir, home) == 0) {
- strcpy(newdir, "$HOME");
- } else if (strncmp(currentdir, home, strlen(home)) == 0) {
-- sprintf(newdir, "$HOME%s", currentdir + strlen(home));
-+ snprintf(newdir, sizeof(newdir), "$HOME%s", currentdir + strlen(home));
- }
- /* sort the source file names (needed for rebuilding) */
- qsort(srcfiles, nsrcfiles, sizeof(char *), compare);
-@@ -454,7 +454,7 @@ cscope: converting to new symbol databas
- }
- fstat(fileno(postings), &statstruct);
- fclose(postings);
-- sprintf(sortcommand, "env LC_ALL=C sort -T %s %s", tmpdir, temp1);
-+ snprintf(sortcommand, sizeof(sortcommand), "env LC_ALL=C sort -T %s %s", tmpdir, temp1);
- if ((postings = mypopen(sortcommand, "r")) == NULL) {
- fprintf(stderr, "cscope: cannot open pipe to sort command\n");
- cannotindex();