From 8f4c0169b47035827e46909936be7bfc0abd7d22 Mon Sep 17 00:00:00 2001 From: Eric House Date: Mon, 22 Oct 2012 19:19:38 -0700 Subject: [PATCH] fix to print contents again --- xwords4/dawg/dawg2dict.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xwords4/dawg/dawg2dict.pl b/xwords4/dawg/dawg2dict.pl index f800e8ca3..beac54211 100755 --- a/xwords4/dawg/dawg2dict.pl +++ b/xwords4/dawg/dawg2dict.pl @@ -1,6 +1,6 @@ -#!/usr/bin/perl -C +#!/usr/bin/perl # -# Copyright 2004 - 2009 by Eric House (xwords@eehouse.org) +# Copyright 2004 - 2012 by Eric House (xwords@eehouse.org) # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -261,6 +261,7 @@ sub prepXWD($$$$) { } elsif( $gDescOnly ) { print STDOUT $gDesc, "\n"; } else { + $done = 0; printf STDERR "at 0x%x before header read\n", systell($fh); # skip xloc header $nRead = sysread( $fh, $buf, 2 );