Files
pkgsrc-ng/archivers/ha/patches/patch-aa
2013-09-26 17:14:40 +02:00

22 lines
469 B
Plaintext

$NetBSD: patch-aa,v 1.4 2001/07/15 11:49:42 jlam Exp $
--- c/hsc.c.orig Thu Jan 12 01:51:16 1995
+++ c/hsc.c
@@ -491,6 +491,7 @@
esc=adj_escape_prob(fe[cp],cp);
tot=ft[cp];
+ cf = 0;
if (nec>=NECLIM) {
if (tot<=NECTLIM && nec==NECMAX) sv=2;
else sv=1;
@@ -548,7 +549,7 @@
register U16B i;
register S16B sum,tot,esc,cf;
- esc=tot=0;
+ esc=tot=cf=0;
for (i=cp;i!=NIL;i=nb[i]) {
if (!cmask[fc[i]]) {
tot+=fa[i];