From 0472c6bc43d9d94eac966f2484169581641b2fca Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 9 Jul 2009 17:48:19 +0100 Subject: [PATCH] Print that we are updating for every rsync --- pctb/convert.c | 2 ++ pctb/ocr.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pctb/convert.c b/pctb/convert.c index 6bc9b2c..df0497e 100644 --- a/pctb/convert.c +++ b/pctb/convert.c @@ -119,6 +119,8 @@ static void rsync_core(const char *stem, const char *suffix, const char *zopt) { pid_t fetcher; + progress("Updating dictionary %s...",stem); + sysassert( (fetcher= fork()) != -1 ); if (!fetcher) { const char *rsync= getenv("YPPSC_PCTB_RSYNC"); diff --git a/pctb/ocr.c b/pctb/ocr.c index 37ca7d2..f7cb450 100644 --- a/pctb/ocr.c +++ b/pctb/ocr.c @@ -597,7 +597,6 @@ OcrReader *ocr_init(int h) { if (o_flags & ff_dict_fetch) { char *fetchfile= masprintf("char%d",h); - progress("Updating %s...",fetchfile); fetch_with_rsync(fetchfile); free(fetchfile); } -- 2.30.2