diff options
author | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2021-07-18 11:38:38 +0000 |
---|---|---|
committer | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2021-07-18 11:38:38 +0000 |
commit | 6e2b03d8b565d767dd8e1827d7ad5366eef1bb0a (patch) | |
tree | ced5afe114a89b174bcb147efdd0824126abfa33 /Build | |
parent | 9bb1926c239594a36e64967921a43f4eec95ca3e (diff) |
cjkutils: regenerate C source after patch
git-svn-id: svn://tug.org/texlive/trunk@59970 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/cjkutils/bg5conv.c | 7 | ||||
-rw-r--r-- | Build/source/texk/cjkutils/cef5conv.c | 7 | ||||
-rw-r--r-- | Build/source/texk/cjkutils/cefconv.c | 7 | ||||
-rw-r--r-- | Build/source/texk/cjkutils/cefsconv.c | 7 | ||||
-rw-r--r-- | Build/source/texk/cjkutils/extconv.c | 7 | ||||
-rw-r--r-- | Build/source/texk/cjkutils/hbf2gf.c | 4 | ||||
-rw-r--r-- | Build/source/texk/cjkutils/sjisconv.c | 7 |
7 files changed, 44 insertions, 2 deletions
diff --git a/Build/source/texk/cjkutils/bg5conv.c b/Build/source/texk/cjkutils/bg5conv.c index 891f7920669..c92ff5abeb9 100644 --- a/Build/source/texk/cjkutils/bg5conv.c +++ b/Build/source/texk/cjkutils/bg5conv.c @@ -6,11 +6,18 @@ #include <stdio.h> #include <stdlib.h> +#ifdef WIN32 +#include <fcntl.h> +#include <io.h> +#endif int main(int argc,char*argv[]) {int ch; +#ifdef WIN32 +setmode(fileno(stdout),_O_BINARY); +#endif fprintf(stdout,"\\def\\CJKpreproc{%s}",banner); ch= fgetc(stdin); diff --git a/Build/source/texk/cjkutils/cef5conv.c b/Build/source/texk/cjkutils/cef5conv.c index 30a0f97209d..f97b9c272c2 100644 --- a/Build/source/texk/cjkutils/cef5conv.c +++ b/Build/source/texk/cjkutils/cef5conv.c @@ -7,6 +7,10 @@ #include <ctype.h> #include <stdio.h> #include <stdlib.h> +#ifdef WIN32 +#include <fcntl.h> +#include <io.h> +#endif int main(int argc,char*argv[]) @@ -15,6 +19,9 @@ unsigned char in[16]; unsigned char out[32]; unsigned char*inp,*outp; +#ifdef WIN32 +setmode(fileno(stdout),_O_BINARY); +#endif fprintf(stdout,"\\def\\CNSpreproc{%s}",banner); ch= fgetc(stdin); diff --git a/Build/source/texk/cjkutils/cefconv.c b/Build/source/texk/cjkutils/cefconv.c index 18bcf6eee3c..7a666a64bbb 100644 --- a/Build/source/texk/cjkutils/cefconv.c +++ b/Build/source/texk/cjkutils/cefconv.c @@ -7,6 +7,10 @@ #include <ctype.h> #include <stdio.h> #include <stdlib.h> +#ifdef WIN32 +#include <fcntl.h> +#include <io.h> +#endif int main(int argc,char*argv[]) @@ -15,6 +19,9 @@ unsigned char in[16]; unsigned char out[32]; unsigned char*inp,*outp; +#ifdef WIN32 +setmode(fileno(stdout),_O_BINARY); +#endif fprintf(stdout,"\\def\\CNSpreproc{%s}",banner); ch= fgetc(stdin); diff --git a/Build/source/texk/cjkutils/cefsconv.c b/Build/source/texk/cjkutils/cefsconv.c index 324ee77a666..18f47a62de8 100644 --- a/Build/source/texk/cjkutils/cefsconv.c +++ b/Build/source/texk/cjkutils/cefsconv.c @@ -7,6 +7,10 @@ #include <ctype.h> #include <stdio.h> #include <stdlib.h> +#ifdef WIN32 +#include <fcntl.h> +#include <io.h> +#endif int main(int argc,char*argv[]) @@ -15,6 +19,9 @@ unsigned char in[16]; unsigned char out[32]; unsigned char*inp,*outp; +#ifdef WIN32 +setmode(fileno(stdout),_O_BINARY); +#endif fprintf(stdout,"\\def\\CNSpreproc{%s}",banner); ch= fgetc(stdin); diff --git a/Build/source/texk/cjkutils/extconv.c b/Build/source/texk/cjkutils/extconv.c index a2d879488fd..301b2c9f446 100644 --- a/Build/source/texk/cjkutils/extconv.c +++ b/Build/source/texk/cjkutils/extconv.c @@ -6,11 +6,18 @@ #include <stdio.h> #include <stdlib.h> +#ifdef WIN32 +#include <fcntl.h> +#include <io.h> +#endif int main(int argc,char*argv[]) {int ch; +#ifdef WIN32 +setmode(fileno(stdout),_O_BINARY); +#endif fprintf(stdout,"\\def\\CJKpreproc{%s}",banner); diff --git a/Build/source/texk/cjkutils/hbf2gf.c b/Build/source/texk/cjkutils/hbf2gf.c index d1980e7939e..808ea01dc4d 100644 --- a/Build/source/texk/cjkutils/hbf2gf.c +++ b/Build/source/texk/cjkutils/hbf2gf.c @@ -286,9 +286,9 @@ char output_name[STRING_LENGTH+1]; FILE*config,*out; HBF*hbf; -#ifdef msdos +#ifdef WIN32 #define WRITE_BIN "wb" -#define WRITE_TXT "wt" +#define WRITE_TXT "wb" #define READ_BIN "rb" #define READ_TXT "rt" #else diff --git a/Build/source/texk/cjkutils/sjisconv.c b/Build/source/texk/cjkutils/sjisconv.c index 9a64f99fa08..3ec34eb0e80 100644 --- a/Build/source/texk/cjkutils/sjisconv.c +++ b/Build/source/texk/cjkutils/sjisconv.c @@ -6,11 +6,18 @@ #include <stdio.h> #include <stdlib.h> +#ifdef WIN32 +#include <fcntl.h> +#include <io.h> +#endif int main(int argc,char*argv[]) {int ch; +#ifdef WIN32 +setmode(fileno(stdout),_O_BINARY); +#endif fprintf(stdout,"\\def\\CJKpreproc{%s}",banner); ch= fgetc(stdin); |