public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-896] libgo: use Windows line endings in testwinsignal
@ 2021-05-19 1:28 Ian Lance Taylor
0 siblings, 0 replies; only message in thread
From: Ian Lance Taylor @ 2021-05-19 1:28 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:39ed6a88c74db5412652f0167d03f71eca4f02fc
commit r12-896-g39ed6a88c74db5412652f0167d03f71eca4f02fc
Author: Ian Lance Taylor <iant@golang.org>
Date: Tue May 18 18:28:17 2021 -0700
libgo: use Windows line endings in testwinsignal
Diff:
---
libgo/go/runtime/testdata/testwinsignal/main.go | 38 ++++++++++++-------------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/libgo/go/runtime/testdata/testwinsignal/main.go b/libgo/go/runtime/testdata/testwinsignal/main.go
index 1e7c9475fd6..d8cd884ffac 100644
--- a/libgo/go/runtime/testdata/testwinsignal/main.go
+++ b/libgo/go/runtime/testdata/testwinsignal/main.go
@@ -1,19 +1,19 @@
-package main
-
-import (
- "fmt"
- "os"
- "os/signal"
- "time"
-)
-
-func main() {
- c := make(chan os.Signal, 1)
- signal.Notify(c)
-
- fmt.Println("ready")
- sig := <-c
-
- time.Sleep(time.Second)
- fmt.Println(sig)
-}
+package main
+
+import (
+ "fmt"
+ "os"
+ "os/signal"
+ "time"
+)
+
+func main() {
+ c := make(chan os.Signal, 1)
+ signal.Notify(c)
+
+ fmt.Println("ready")
+ sig := <-c
+
+ time.Sleep(time.Second)
+ fmt.Println(sig)
+}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-19 1:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-19 1:28 [gcc r12-896] libgo: use Windows line endings in testwinsignal Ian Lance Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).