summaryrefslogtreecommitdiff
path: root/editors/joe/patches/patch-ab
blob: edf91acefd6b008e88a5ac66bc28e5c706c1c326 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.3 2001/05/22 11:37:16 wiz Exp $

--- b.c.orig	Fri Jan 20 09:38:25 1995
+++ b.c
@@ -1928,7 +1928,7 @@
  if(s[0]=='!') pclose(f);
  else
 #endif
- if(zcmp(s,"-")) fclose(f);
+ if(zcmp(s,"-")) { if (fclose(f)) return error = -5; }
  else fflush(f);
 
  opnerr:;