OSDN Git Service

version 2.3.0-final.
[putex/putex.git] / src / texsourc / local.c
index 5e7d011..1bfec9a 100644 (file)
@@ -39,7 +39,7 @@
 #endif\r
 \r
 #if   defined (__clang__)\r
-const char * compiler = "Clang/LLVM";\r
+const char * compiler = "Clang";\r
 #elif defined (__GNUC__) || defined(__GNUG__)\r
 const char * compiler = "GCC";\r
 #elif defined (_MSC_VER)\r
@@ -93,7 +93,7 @@ boolean reorder_arg_flag  = true;  /* put command line flags/arguments first */
 void show_usage (void)\r
 {\r
   printf("\n"\r
-      "Useage: yandytex [OPTION]... [+format_file] [tex_file]\n\n"\r
+      "Useage: yandytex [OPTION]... [+format_file] [file]\n\n"\r
       "--help       -?  show this usage summary\n"\r
       "--initex     -i  start up as initex (create format file)\n"\r
       "--verbose    -v  be verbose (show implementation version number)\n"\r
@@ -507,7 +507,7 @@ void memory_error (const char * s, int n)
 {\r
   if (log_opened)\r
   {\r
-    fprintf(log_file, "\n! Unable to allocate %d bytes for %s\n", n, s);\r
+    log_printf("\n! Unable to allocate %d bytes for %s\n", n, s);\r
     show_maximums(log_file);\r
   }\r
 \r
@@ -3271,7 +3271,7 @@ void dvi_font_show (internal_font_number f, int suppressname)
 \r
     checksum = (((font_check[f].b0) << 8 | font_check[f].b1) << 8 | font_check[f].b2) << 8 | font_check[f].b3;\r
     decode_fourty(checksum, checksumvector);\r
-    fprintf(log_file, "encoding: %s..", checksumvector);\r
+    log_printf("encoding: %s..", checksumvector);\r
   }\r
 \r
   putc('\n', log_file);\r
@@ -3293,7 +3293,7 @@ void show_font_info (void)
 \r
   fnumtable = (short *) malloc(fcount * sizeof(short));\r
 \r
-  fprintf(log_file, "\nUsed %d font%s:\n", fcount, (fcount == 1) ? "" : "s");\r
+  log_printf("\nUsed %d font%s:\n", fcount, (fcount == 1) ? "" : "s");\r
 \r
   fcount = 0;\r
 \r