• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修訂a1e920215e46c487c4f2dacb973d225a6a435914 (tree)
時間2021-01-09 03:12:59
作者Max Filippov <jcmvbkbc@gmai...>
CommiterWaldemar Brodkorb

Log Message

extra/locale: fix gen_wc8bit diagnostic output

Diagnostic for missing UTF locale is printed to stdout instead of
stderr, fix that.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>

Change Summary

差異

--- a/extra/locale/gen_wc8bit.c
+++ b/extra/locale/gen_wc8bit.c
@@ -121,7 +121,8 @@ int main(int argc, char **argv)
121121 }
122122
123123 locale_failure:
124- printf("could not find a UTF8 locale ... please enable en_US.UTF-8\n");
124+ fprintf(stderr,
125+ "could not find a UTF8 locale ... please enable en_US.UTF-8\n");
125126 return EXIT_FAILURE;
126127 locale_success:
127128 pclose(fp);