Bugzilla – Attachment 1439 Details for
Bug 1419
Fix PTY handling on Mac OS X
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Make pty_release a no-op on OS X
openssh-osx-pty.patch (text/plain), 589 bytes, created by
Darren Tucker
on 2008-01-08 15:16:30 AEDT
(
hide
)
Description:
Make pty_release a no-op on OS X
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2008-01-08 15:16:30 AEDT
Size:
589 bytes
patch
obsolete
>Index: sshpty.c >=================================================================== >RCS file: /cvs/openssh/sshpty.c,v >retrieving revision 1.45 >diff -u -p -r1.45 sshpty.c >--- sshpty.c 26 Oct 2007 04:24:30 -0000 1.45 >+++ sshpty.c 8 Jan 2008 04:12:23 -0000 >@@ -78,6 +78,9 @@ pty_allocate(int *ptyfd, int *ttyfd, cha > void > pty_release(const char *tty) > { >+#ifdef __APPLE_PRIVPTY__ >+ return; /* pty is automatically released on close */ >+#endif > if (chown(tty, (uid_t) 0, (gid_t) 0) < 0) > error("chown %.100s 0 0 failed: %.100s", tty, strerror(errno)); > if (chmod(tty, (mode_t) 0666) < 0)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1419
:
1415
|
1416
|
1439
|
1593
|
1594