From e8738541c9afd657aba3efdec02d64e41c65dd32 Mon Sep 17 00:00:00 2001 From: DRC Date: Mon, 2 May 2011 00:40:13 +0000 Subject: [PATCH] Fix I/O redirection in cjpeg and djpeg on Windows git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.0.x@605 632fc199-4ca6-4c93-a231-07263d6284db --- ChangeLog.txt | 3 +++ win/Makerules | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index 6c3b9354..6edefc05 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -37,6 +37,9 @@ libjpeg-turbo with older versions of MinGW64, you will now have to add [6] Eliminated excessive I/O overhead that occurred when reading BMP files in cjpeg. +[7] Eliminated errors in the output of cjpeg on Windows that occurred when the +application was invoked using I/O redirection (cjpeg output.jpeg). + 1.0.1 ===== diff --git a/win/Makerules b/win/Makerules index 291e1ff6..51fba682 100755 --- a/win/Makerules +++ b/win/Makerules @@ -27,7 +27,7 @@ NASM = nasm endif CFLAGS = -W3 -wd4996 -Iwin -I. -DBMP_SUPPORTED -DGIF_SUPPORTED \ - -DPPM_SUPPORTED -DTARGA_SUPPORTED + -DPPM_SUPPORTED -DTARGA_SUPPORTED -DUSE_SETMODE ifeq ($(WIN64), yes) NAFLAGS = -fwin64 -DWIN64 -DMSVC -D__x86_64__ -Iwin/ else