diff options
Diffstat (limited to 'editors/cooledit/patches/patch-ai')
-rw-r--r-- | editors/cooledit/patches/patch-ai | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/editors/cooledit/patches/patch-ai b/editors/cooledit/patches/patch-ai new file mode 100644 index 00000000000..a3652abb60c --- /dev/null +++ b/editors/cooledit/patches/patch-ai @@ -0,0 +1,33 @@ +$NetBSD: patch-ai,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $ + +--- editor/shell.c.orig Sat Oct 27 14:36:12 2001 ++++ editor/shell.c +@@ -437,8 +437,8 @@ + { + CWidget *w; + struct running_shell *r; +- int i, count = 0, do_redraw = 0; +- r = &running_shell[i = (int) data]; ++ long int i, count = 0, do_redraw = 0; ++ r = &running_shell[i = (long int) data]; + if (r->shell_pipe != fd) { + printf ("huh??\n"); + } +@@ -560,7 +560,7 @@ + char *argv[] = + {0, 0}; + pid_t p; +- int i; ++ long int i; + i = restart_shell (0, name, 0); + argv[0] = hme_i (SCRIPT_FILE, i); + savefile (argv[0], s, strlen (s), 0700); +@@ -585,7 +585,7 @@ + char *argv[] = + {0, 0}; + pid_t p = 0; +- int i; ++ long int i; + + i = restart_shell (0, name, 0); + argv[0] = hme_i (SCRIPT_FILE, i); |