hlfw.ca

plumb

Download patch

ref: 6cb7b57c774d3ab64d38b4957f86571d3dc11b8c
parent: 19b0af330113ae3fcadd33b4ea305a26a4832458
author: Michael Misch <michealmisch1985@gmail.com>
date: Tue Jul 13 06:19:00 PDT 2021

Make sure we keep plumbfile in use

--- a/plumb.go
+++ b/plumb.go
@@ -35,7 +35,8 @@
 }
 
 func (s storeMsg) send() error {
-	fd, err := plumb.Open("send", plan9.OWRITE)
+        // Switch on GOOS here eventually 
+	fd, err := plumb.Open(*plumbfile, plan9.OWRITE)
 	if err != nil {
 		return err
 	}