FreeBSD Bugzilla – Attachment 118812 Details for
Bug 161181
[patch] editors/emacs-devel: don't depend on pty(4), use openpty(3)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
use_openpty.diff
use_openpty.diff (text/plain), 648 bytes, created by
Nali Toja
on 2011-10-01 08:10:06 UTC
(
hide
)
Description:
use_openpty.diff
Filename:
MIME Type:
Creator:
Nali Toja
Created:
2011-10-01 08:10:06 UTC
Size:
648 bytes
patch
obsolete
>=== modified file 'src/s/freebsd.h' >--- src/s/freebsd.h 2011-02-16 01:35:20 +0000 >+++ src/s/freebsd.h 2011-10-01 06:44:33 +0000 >@@ -61,3 +61,17 @@ > > /* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method for marking the stack. */ > #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS >+ >+#define PTY_ITERATION int i; for (i = 0; i < 1; i++) >+#define PTY_NAME_SPRINTF /* none */ >+#define PTY_TTY_NAME_SPRINTF /* none */ >+#define PTY_OPEN \ >+ do \ >+ { \ >+ int slave; \ >+ if (openpty (&fd, &slave, pty_name, NULL, NULL) == -1) \ >+ fd = -1; \ >+ else \ >+ emacs_close (slave); \ >+ } \ >+ while (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 161181
: 118812