]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
_set_fmode(O_BINARY) shouldn't be needed here; we should just include O_BINARY with...
authorTim Kientzle <kientzle@gmail.com>
Fri, 12 Jun 2009 04:47:23 +0000 (00:47 -0400)
committerTim Kientzle <kientzle@gmail.com>
Fri, 12 Jun 2009 04:47:23 +0000 (00:47 -0400)
SVN-Revision: 1156

tar/test/main.c

index fd279955c09221fa8fe9cb7a137856f96dddb5bf..2169f032b8e30668d66651f72c77f91ed47dc704 100644 (file)
@@ -913,12 +913,6 @@ int main(int argc, char **argv)
 
        (void)argc; /* UNUSED */
 
-#if defined(_WIN32) && !defined(__CYGWIN__)
-       /* Make sure open() function will be used with a binary mode. */
-       /* on cygwin, we need something similar, but instead link against */
-       /* a special startup object, binmode.o */
-       _set_fmode(_O_BINARY);
-#endif
        /*
         * Name of this program, used to build root of our temp directory
         * tree.