]> sourceware.org Git - newlib-cygwin.git/commitdiff
* Makefile.in (CRT0S): Revert last change.
authorDanny Smith <dannysmith@users.sourceforge.net>
Wed, 13 Jun 2007 08:26:13 +0000 (08:26 +0000)
committerDanny Smith <dannysmith@users.sourceforge.net>
Wed, 13 Jun 2007 08:26:13 +0000 (08:26 +0000)
* CRTfmode.c. Correct comment.

winsup/mingw/CRTfmode.c
winsup/mingw/ChangeLog
winsup/mingw/Makefile.in

index bf750d94e1cd1542811b9e43a53b9623ea12594e..fcbdd333b377d81f0bf0a3565fbacc93549bf1f8 100644 (file)
@@ -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 <fcntl.h>  /*  _O_BINARY */
+ * int _CRT_fmode = _O_BINARY;
  *
+ * to your app.        
  */
 
 int _CRT_fmode = 0;
index 06e3388595308a00d0fc35fabd4e2333b3ab310f..6e0887537a1370e4a3aa264a7ba212d7d8200828 100644 (file)
@@ -1,3 +1,8 @@
+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.
index cc760450fdcf4ec7d5373974edab21ca93af3cc4..8958aee8faef00d50e2d7c7a280d32add70bb40c 100644 (file)
@@ -171,7 +171,7 @@ FLAGS_TO_PASS:=\
        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
This page took 0.036979 seconds and 5 git commands to generate.