From 9b457ae66d5c5143f5896156cc4af8d5a0bc0ddc Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 18 Jun 2017 16:57:38 -0400 Subject: remove unnecessary binary mode setting This is using ByteString, so the handle IO discipline is irrelevant. --- src/Propellor/Spin.hs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Propellor/Spin.hs b/src/Propellor/Spin.hs index 3b3729f9..d0ce4d03 100644 --- a/src/Propellor/Spin.hs +++ b/src/Propellor/Spin.hs @@ -349,8 +349,6 @@ gitPushHelper hin hout = void $ fromstdin `concurrently` tostdout h <- fdToHandle hin connect h stdout connect fromh toh = do - hSetBinaryMode fromh True - hSetBinaryMode toh True b <- B.hGetSome fromh 40960 if B.null b then do -- cgit v1.2.3