Browse Source

Bump vendor kr/pty to commit 3b1f6487b (syscall.O_NOCTTY)

Tianon Gravi 11 years ago
parent
commit
cb21a40490
2 changed files with 2 additions and 2 deletions
  1. 1 1
      hack/vendor.sh
  2. 1 1
      vendor/src/github.com/kr/pty/pty_linux.go

+ 1 - 1
hack/vendor.sh

@@ -21,7 +21,7 @@ git_clone () {
   )
 }
 
-git_clone github.com/kr/pty 27435c699
+git_clone github.com/kr/pty 3b1f6487b
 
 git_clone github.com/gorilla/context/ 708054d61e5
 

+ 1 - 1
vendor/src/github.com/kr/pty/pty_linux.go

@@ -28,7 +28,7 @@ func open() (pty, tty *os.File, err error) {
 		return nil, nil, err
 	}
 
-	t, err := os.OpenFile(sname, os.O_RDWR, 0)
+	t, err := os.OpenFile(sname, os.O_RDWR|syscall.O_NOCTTY, 0)
 	if err != nil {
 		return nil, nil, err
 	}