You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
631 B

Index: zimg.c
--- zimg.c.orig 2004-02-13 18:24:52 +0100
+++ zimg.c 2004-10-07 20:32:38 +0200
@@ -1921,9 +1921,6 @@
} else {
if (!ttyname(fileno(stdout))) {
z.ofp = stdout;
-#if !defined(unix) && !defined(__unix) && !defined(__unix__)
- setmode(fileno(stdout), O_BINARY);
-#endif
#ifdef HAVE_POPEN
} else {
/* output is a terminal. The user probably forgot to
@@ -1935,9 +1932,6 @@
if (!z.ofp) {
/* fallback to stdout */
z.ofp = stdout;
-#if !defined(unix) && !defined(__unix) && !defined(__unix__)
- setmode(fileno(stdout), O_BINARY);
-#endif
} else {
ofp_close = pclose;
}