From: Ian Jackson Date: Thu, 9 Jul 2009 16:48:19 +0000 (+0100) Subject: Print that we are updating for every rsync X-Git-Tag: 2.0~2^2~2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-test.git;a=commitdiff_plain;h=0472c6bc43d9d94eac966f2484169581641b2fca Print that we are updating for every rsync --- 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); }