Merge pull request #2066 from tianon/vendor-bump-kr-pty

Bump vendor kr/pty to commit 3b1f6487b (syscall.O_NOCTTY)
This commit is contained in:
Michael Crosby
2013-10-02 14:44:07 -07:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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
}