diff options
author | joerg <joerg@pkgsrc.org> | 2013-03-04 14:45:07 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-03-04 14:45:07 +0000 |
commit | 1ee93c1574909b1de20c985ab02f2e109d05cfba (patch) | |
tree | f3bf3f7bc00452c8150bdf45c1104b3c39d52b6d /editors/gate | |
parent | fcc341424293648d63b76fec7c4543a694fd3248 (diff) | |
download | pkgsrc-1ee93c1574909b1de20c985ab02f2e109d05cfba.tar.gz |
Add forgotten patch file to fix one more missing return value.
Diffstat (limited to 'editors/gate')
-rw-r--r-- | editors/gate/patches/patch-subs.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/editors/gate/patches/patch-subs.c b/editors/gate/patches/patch-subs.c new file mode 100644 index 00000000000..045528d6242 --- /dev/null +++ b/editors/gate/patches/patch-subs.c @@ -0,0 +1,13 @@ +$NetBSD: patch-subs.c,v 1.1 2013/03/04 14:45:07 joerg Exp $ + +--- subs.c.orig 2013-03-01 15:11:50.000000000 +0000 ++++ subs.c +@@ -429,7 +429,7 @@ int cliplast(char *lastbuf, int bufsize) + #endif + + /* Make a copy of the file */ +- if ((cfp= make_copy()) == NULL) return; ++ if ((cfp= make_copy()) == NULL) return 0; + fflush(cfp); + fseek(cfp,0L,0); + |