diff options
author | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-07-19 09:47:10 +0100 |
---|---|---|
committer | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-07-19 09:47:10 +0100 |
commit | 72d7891bba975dc637dfcc4df068da4a0afae40c (patch) | |
tree | 0664972762ff7eb098db1f6bbde7f21f26b89e61 /mkfontscale.c | |
parent | 74743bd788dc7d9f65e151142a594dd5dd3679fb (diff) |
open files in binary mode. fixes cygwin issues.
Diffstat (limited to 'mkfontscale.c')
-rw-r--r-- | mkfontscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkfontscale.c b/mkfontscale.c index be5136c..c758e18 100644 --- a/mkfontscale.c +++ b/mkfontscale.c @@ -800,7 +800,7 @@ doDirectory(char *dirname_given, int numEncodings, ListPtr encodingsToDo) if(fontscale_name == NULL) fontscale = stdout; else - fontscale = fopen(fontscale_name, "w"); + fontscale = fopen(fontscale_name, "wb"); if(fontscale == NULL) { fprintf(stderr, "%s: ", fontscale_name); |