diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-09-25 11:48:42 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-09-25 11:48:42 +0000 |
commit | 9f8088b0807e584ba5f00e034213fb5696b3e85f (patch) | |
tree | 2e0c9bb9ecda441ae01f0088af796c7e5bc0d972 /extra/locale/gen_wctype.c | |
parent | 78b781b933a187eebdc08b3e8eb451ab030d69d3 (diff) |
- add missing dependency on lt_defines.h
- retry with some different locale if en_US happens not to be there
Diffstat (limited to 'extra/locale/gen_wctype.c')
-rw-r--r-- | extra/locale/gen_wctype.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/locale/gen_wctype.c b/extra/locale/gen_wctype.c index dca5cff0d..68fb26eec 100644 --- a/extra/locale/gen_wctype.c +++ b/extra/locale/gen_wctype.c @@ -736,7 +736,7 @@ int main(int argc, char **argv) printf("done\n"); } - if (1) { + if (built) { FILE *fp; if (!(fp = fopen("wctables.h", "w"))) { @@ -771,7 +771,7 @@ int main(int argc, char **argv) fclose(fp); } - return EXIT_SUCCESS; + return !built; } size_t newopt(unsigned char *ut, size_t usize, int shift, table_data *tbl) |