summaryrefslogtreecommitdiff
path: root/devel/cscope/patches/patch-ak
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cscope/patches/patch-ak')
-rw-r--r--devel/cscope/patches/patch-ak22
1 files changed, 11 insertions, 11 deletions
diff --git a/devel/cscope/patches/patch-ak b/devel/cscope/patches/patch-ak
index 0b36c35a9d4..a558b6e11e0 100644
--- a/devel/cscope/patches/patch-ak
+++ b/devel/cscope/patches/patch-ak
@@ -1,13 +1,13 @@
-$NetBSD: patch-ak,v 1.2 2006/05/29 13:51:20 tron Exp $
+$NetBSD: patch-ak,v 1.3 2007/01/06 22:45:49 wiz Exp $
---- src/exec.c.orig 2002-07-29 13:37:49.000000000 +0100
-+++ src/exec.c 2006-05-29 14:34:26.000000000 +0100
-@@ -124,7 +124,7 @@
+--- src/exec.c.orig 2006-09-30 10:13:00.000000000 +0200
++++ src/exec.c
+@@ -123,7 +123,7 @@ myexecvp(char *a, char **args)
- /* execute the program or shell script */
- (void) execvp(a, args); /* returns only on failure */
-- (void) sprintf(msg, "\nCannot exec %s", a);
-+ (void) snprintf(msg, sizeof(msg), "\nCannot exec %s", a);
- perror(msg); /* display the reason */
- askforreturn(); /* wait until the user sees the message */
- myexit(1); /* exit the child */
+ /* execute the program or shell script */
+ execvp(a, args); /* returns only on failure */
+- sprintf(msg, "\nCannot exec %s", a);
++ (void) sprintf(msg, sizeof(msg), "\nCannot exec %s", a);
+ perror(msg); /* display the reason */
+ askforreturn(); /* wait until the user sees the message */
+ myexit(1); /* exit the child */