mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
[PR #311] [CLOSED] Make stdin/stdout work on Windows for tools/bro #910
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/google/brotli/pull/311
Author: @fasterthanlime
Created: 2/5/2016
Status: ❌ Closed
Base:
master← Head:master📝 Commits (2)
ac1be51Let tools/bro work with stdin+stdout on Windows (mingw32)c30c912Use macro to switch stdin/stdout to binary mode so that tools/bro compiles on non-Windows platforms again📊 Changes
1 file changed (+11 additions, -2 deletions)
View changed files
📝
tools/bro.cc(+11 -2)📄 Description
The code in master works well on Linux/OSX, not so well on Windows. This PR makes it work for all 3 main platforms. Props to #174 for giving helpful hints!
Tested on OSX 10.11.3 with clang 7.0.2, and Windows 10 with msys2, gcc 5.2.0
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.