From b338158ee6c4035bccf02b9d79e75fca0090fc6c Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Wed, 13 Jun 2007 08:26:13 +0000 Subject: * Makefile.in (CRT0S): Revert last change. * CRTfmode.c. Correct comment. --- winsup/mingw/CRTfmode.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'winsup/mingw/CRTfmode.c') diff --git a/winsup/mingw/CRTfmode.c b/winsup/mingw/CRTfmode.c index bf750d94e..fcbdd333b 100644 --- a/winsup/mingw/CRTfmode.c +++ b/winsup/mingw/CRTfmode.c @@ -4,13 +4,16 @@ * This file is a part of the mingw-runtime package. * No warranty is given; refer to the file DISCLAIMER within the package. * - * Include this object to set _CRT_fmode to a state that will cause + * This libmingw.a object sets _CRT_fmode to a state that will cause * _mingw32_init_fmode to leave all file modes in their default state * (basically text mode). + * + * To override the default, add, eg: * - * To use this object include the object file in your link command: - * gcc -o foo.exe foo.o CRTfmode.o + * #include /* _O_BINARY */ + * int _CRT_fmode = _O_BINARY; * + * to your app. */ int _CRT_fmode = 0; -- cgit v1.2.3