s/Free/Open/

This commit is contained in:
pascal 2011-11-19 22:49:36 +00:00
parent 76c4d2cea0
commit 298b7b381a

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-libgo_go_debug_proc_proc_openbsd_go,v 1.1 2011/11/19 22:19:53 pascal Exp $
$OpenBSD: patch-libgo_go_debug_proc_proc_openbsd_go,v 1.2 2011/11/19 22:49:36 pascal Exp $
--- libgo/go/debug/proc/proc_openbsd.go.orig Thu Nov 17 23:37:00 2011
+++ libgo/go/debug/proc/proc_openbsd.go Thu Nov 17 23:36:44 2011
@@ -0,0 +1,17 @@
@ -13,7 +13,7 @@ $OpenBSD: patch-libgo_go_debug_proc_proc_openbsd_go,v 1.1 2011/11/19 22:19:53 pa
+// Process tracing is not supported on OpenBSD yet.
+
+func Attach(pid int) (Process, os.Error) {
+ return nil, os.NewError("debug/proc not implemented on FreeBSD")
+ return nil, os.NewError("debug/proc not implemented on OpenBSD")
+}
+
+func ForkExec(argv0 string, argv []string, envv []string, dir string, fd []*os.File) (Process, os.Error) {