contrib/
commit5117df9d9a1e63a1a2c1e9ccaee3d27ac4bc59ab
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 14 Jun 2014 09:49:07 +0000 (14 09:49 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 14 Jun 2014 09:49:07 +0000 (14 09:49 +0000)
tree52f402c774ce9e4dc890f8ca02e15d1229f23ba0
parent201ae58560d7a7886ef18dd390897b138c0328e2
contrib/
* dg-extract-results.py: For Python 3, force sys.stdout to handle
surrogate escape sequences.
(safe_open): New function.
(output_segment, main): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211666 138bc75d-0d04-0410-961f-82ee72b054a4
contrib/ChangeLog
contrib/dg-extract-results.py