LEFT | RIGHT |
(Both sides are equal) |
1 #!/usr/bin/env bash | 1 #!/usr/bin/env bash |
2 # Copyright 2009 The Go Authors. All rights reserved. | 2 # Copyright 2009 The Go Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style | 3 # Use of this source code is governed by a BSD-style |
4 # license that can be found in the LICENSE file. | 4 # license that can be found in the LICENSE file. |
5 | 5 |
6 # The syscall package provides access to the raw system call | 6 # The syscall package provides access to the raw system call |
7 # interface of the underlying operating system. Porting Go to | 7 # interface of the underlying operating system. Porting Go to |
8 # a new architecture/operating system combination requires | 8 # a new architecture/operating system combination requires |
9 # some manual effort, though there are tools that automate | 9 # some manual effort, though there are tools that automate |
10 # much of the process. The auto-generated files have names | 10 # much of the process. The auto-generated files have names |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 syscall_goos="syscall_bsd.go $syscall_goos" | 269 syscall_goos="syscall_bsd.go $syscall_goos" |
270 ;; | 270 ;; |
271 esac | 271 esac |
272 if [ -n "$mksyscall" ]; then echo "$mksyscall $syscall_goos $GOO
SARCH_in |gofmt >zsyscall_$GOOSARCH.go"; fi | 272 if [ -n "$mksyscall" ]; then echo "$mksyscall $syscall_goos $GOO
SARCH_in |gofmt >zsyscall_$GOOSARCH.go"; fi |
273 ;; | 273 ;; |
274 esac | 274 esac |
275 if [ -n "$mksysctl" ]; then echo "$mksysctl |gofmt >$zsysctl"; fi | 275 if [ -n "$mksysctl" ]; then echo "$mksysctl |gofmt >$zsysctl"; fi |
276 if [ -n "$mksysnum" ]; then echo "$mksysnum |gofmt >zsysnum_$GOOSARCH.go
"; fi | 276 if [ -n "$mksysnum" ]; then echo "$mksysnum |gofmt >zsysnum_$GOOSARCH.go
"; fi |
277 if [ -n "$mktypes" ]; then echo "$mktypes types_$GOOS.go |gofmt >ztypes_
$GOOSARCH.go"; fi | 277 if [ -n "$mktypes" ]; then echo "$mktypes types_$GOOS.go |gofmt >ztypes_
$GOOSARCH.go"; fi |
278 ) | $run | 278 ) | $run |
LEFT | RIGHT |