chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mode default is --upload so don't mention that in the README top example
[ypp-sc-tools.db-live.git]
/
pctb
/
resolve.c
diff --git
a/pctb/resolve.c
b/pctb/resolve.c
index 556c54b572f3b6eddb56eae5a8c918d941fda7c0..19615f3e4ea251ab301cb496d28b09b7181203c3 100644
(file)
--- a/
pctb/resolve.c
+++ b/
pctb/resolve.c
@@
-25,6
+25,7
@@
* sponsored by Three Rings.
*/
* sponsored by Three Rings.
*/
+#include "convert.h"
#include "ocr.h"
static FILE *resolver;
#include "ocr.h"
static FILE *resolver;
@@
-49,7
+50,9
@@
FILE *resolve_start(void) {
* so we aren't in any danger of overwriting some other fd 4: */
sysassert( dup2(donepipe[1],4) ==4 );
EXECLP_HELPER("dictionary-manager",
* so we aren't in any danger of overwriting some other fd 4: */
sysassert( dup2(donepipe[1],4) ==4 );
EXECLP_HELPER("dictionary-manager",
- DEBUGP(callout) ? "--debug" : "--noop-arg",
+ DEBUGP(callout) ? "--debug" : "--noop-arg",
+ DEBUGP(callout) && DEBUGP(rect) ? "--debug-rect" : "--noop-arg",
+ o_quiet ? "--quiet" : "--noop-arg",
"--automatic-1",
(char*)0);
sysassert(!"execlp dictionary-manager --automatic failed");
"--automatic-1",
(char*)0);
sysassert(!"execlp dictionary-manager --automatic failed");
@@
-59,6
+62,8
@@
FILE *resolve_start(void) {
resolver= fdopen(jobpipe[1],"w"); sysassert(resolver);
resolver_done= donepipe[0];
}
resolver= fdopen(jobpipe[1],"w"); sysassert(resolver);
resolver_done= donepipe[0];
}
+
+ progress("");
return resolver;
}
return resolver;
}