diff options
author | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-10-20 14:29:00 +0000 |
---|---|---|
committer | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-10-20 14:29:00 +0000 |
commit | 8bad64018e2662a956623e405c077c5da80fe84c (patch) | |
tree | e764000e6ce4af53c16d67000064f057d8caa56c | |
parent | 068bb26f5e5c8307c0bbe46b2fab72daa021c622 (diff) |
fonts.dir and fonts.scale are created as binary files. No more
binmode/textmode trouble :)
-rw-r--r-- | mkfontscale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mkfontscale.c b/mkfontscale.c index 464224c..c624796 100644 --- a/mkfontscale.c +++ b/mkfontscale.c @@ -19,7 +19,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/* $XdotOrg: xc/programs/mkfontscale/mkfontscale.c,v 1.2 2004/04/23 19:54:36 eich Exp $ */ +/* $XdotOrg: xc/programs/mkfontscale/mkfontscale.c,v 1.1.4.1.2.2 2004/09/15 16:34:16 ago Exp $ */ /* $XFree86: xc/programs/mkfontscale/mkfontscale.c,v 1.21 2003/12/10 02:58:07 dawes Exp $ */ #include <stdio.h> @@ -799,7 +799,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); |