aboutsummaryrefslogtreecommitdiff
path: root/README.win32
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2008-05-14 14:42:43 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2008-05-14 14:42:43 +0000
commit325d8d1ce86aba1f1f6863c2700f396d1256d1ac (patch)
tree01e940d7f9f290c7ff9eb71178a746e747652a9b /README.win32
parent7f3ba95f7e4b42d24e25db5c39008dd33f1551a5 (diff)
downloadsg3_utils-325d8d1ce86aba1f1f6863c2700f396d1256d1ac.tar.gz
add description of lf->cr,lf problem in MinGW
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@172 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'README.win32')
-rw-r--r--README.win3213
1 files changed, 12 insertions, 1 deletions
diff --git a/README.win32 b/README.win32
index 5adc7c2e..7366ed5c 100644
--- a/README.win32
+++ b/README.win32
@@ -131,6 +131,17 @@ Makefile.mingw respectively. The executables produced are console
applications that can be executed in either a cygwin, MSYS or "cmd" shell.
See the INSTALL file for more details.
+Binary and Text files
+=====================
+A problem has been reported with binary output being written in a MinGW
+environment (or executables build by MinGW). Windows has a concept of text
+and binary files which is not found in Unix. Recent versions of MinGW
+default to opening files in text mode. This can lead to binary output
+(such as when the '--raw' option is given) having 0xa (i.e. LF) translated
+to 0xd,0xa (i.e. CR,LF). sg3_utils version 1.26 attempts to fix this
+problem by changing what it knows to be binary output files to "binary
+mode" with the setmode() Windows command.
+
Doug Gilbert
-2nd December 2007
+14th May 2008