* CRTfmode.c. Correct comment.
* 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 <fcntl.h> /* _O_BINARY */
+ * int _CRT_fmode = _O_BINARY;
*
+ * to your app.
*/
int _CRT_fmode = 0;
+2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * Makefile.in (CRT0S): Revert last change.
+ * CRTfmode.c. Correct comment.
+
2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
* Makefile.in (CRT0S): Add back CRTfmode.o.
TARFILEEXT="$(TARFILEEXT)"
CRT0S = crt1.o dllcrt1.o crt2.o dllcrt2.o CRT_noglob.o crtmt.o crtst.o \
- CRT_fp8.o CRT_fp10.o txtmode.o binmode.o CRTfmode.o
+ CRT_fp8.o CRT_fp10.o txtmode.o binmode.o
MINGW_OBJS = CRTglob.o CRTfmode.o CRTinit.o dllmain.o gccmain.o \
main.o crtst.o mthr_stub.o CRT_fp10.o txtmode.o \
pseudo-reloc.o pseudo-reloc-list.o cpu_features.o