Patch RFA: Support non-ASCII file names in git-changelog

Ian Lance Taylor iant@golang.org
Thu Jan 7 19:03:02 GMT 2021


On Wed, Jan 6, 2021 at 5:37 AM Martin Liška <mliska@suse.cz> wrote:
>
> On 1/6/21 8:25 AM, Martin Liška wrote:
> > Anyway, I've got a workaround that I'm going to push.
>
> It's fixed now.
>
> @Ian: Can you please try to push the changes now?

It worked.

Thanks.

Ian
-------------- next part --------------
b87ec922c4090fcacf802c73b6bfd59a8632f8a5
diff --git "a/gcc/testsuite/go.test/test/fixedbugs/issue27836.dir/\303\204foo.go" "b/gcc/testsuite/go.test/test/fixedbugs/issue27836.dir/\303\204foo.go"
new file mode 100644
index 00000000000..8b6a814c3c4
--- /dev/null
+++ "b/gcc/testsuite/go.test/test/fixedbugs/issue27836.dir/\303\204foo.go"
@@ -0,0 +1,13 @@
+package Äfoo
+
+var ÄbarV int = 101
+
+func Äbar(x int) int {
+	defer func() { ÄbarV += 3 }()
+	return Äblix(x)
+}
+
+func Äblix(x int) int {
+	defer func() { ÄbarV += 9 }()
+	return ÄbarV + x
+}
diff --git "a/gcc/testsuite/go.test/test/fixedbugs/issue27836.dir/\303\204main.go" "b/gcc/testsuite/go.test/test/fixedbugs/issue27836.dir/\303\204main.go"
new file mode 100644
index 00000000000..25d2c71fc00
--- /dev/null
+++ "b/gcc/testsuite/go.test/test/fixedbugs/issue27836.dir/\303\204main.go"
@@ -0,0 +1,13 @@
+package main
+
+import (
+	"fmt"
+
+	"./Äfoo"
+	Äblix "./Äfoo"
+)
+
+func main() {
+	fmt.Printf("Äfoo.Äbar(33) returns %v\n", Äfoo.Äbar(33))
+	fmt.Printf("Äblix.Äbar(33) returns %v\n", Äblix.Äbar(33))
+}
diff --git a/gcc/testsuite/go.test/test/fixedbugs/issue27836.go b/gcc/testsuite/go.test/test/fixedbugs/issue27836.go
new file mode 100644
index 00000000000..128cf9d06ad
--- /dev/null
+++ b/gcc/testsuite/go.test/test/fixedbugs/issue27836.go
@@ -0,0 +1,7 @@
+// compiledir
+
+// Copyright 2018 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package ignored


More information about the Gcc-patches mailing list