]> Cypherpunks repositories - gostls13.git/commitdiff
syscall: mksyscall_windows.pl should output unix newline.
authorYasuhiro Matsumoto <mattn.jp@gmail.com>
Wed, 15 Jun 2011 01:50:21 +0000 (11:50 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Wed, 15 Jun 2011 01:50:21 +0000 (11:50 +1000)
R=golang-dev, bradfitz, alex.brainman
CC=golang-dev
https://golang.org/cl/4601058

src/pkg/syscall/mksyscall_windows.pl

index fb5a1272b2643dc746eed55e189c3ba4c92ece47..83f5f03b17a0dda6bb070e6671b299ddaf8f936a 100755 (executable)
@@ -27,6 +27,8 @@ $cmdline = "mksyscall_windows.pl " . join(' ', @ARGV);
 $errors = 0;
 $_32bit = "";
 
+binmode STDOUT;
+
 if($ARGV[0] eq "-b32") {
        $_32bit = "big-endian";
        shift;