I've no idea what this patch does, but this sort of thing should go in the
s&m files surely?
andy
At 10:23 PM 7/28/99 -0400, Neal Becker wrote:
+#if defined (__GLIBC__) && (__GLIBC__ >= 2) &&
(__GLIBC_MINOR__ >= 1)
+# define HAVE_GETPT
+#endif
+
+#ifdef HAVE_GETPT
+#define PTY_ITERATION
+#define PTY_OPEN \
+ if ((fd = getpt()) < 0 || grantpt (fd) < 0 || unlockpt (fd) < 0) \
+ return -1;
+#define PTY_TTY_NAME_SPRINTF ptsname_r (fd, pty_name, sizeof (pty_name));
+#endif
+
#endif /* _XEMACS_PROCESS_H_ */
--------------------------------------------------------------
Dr Andy Piper
Senior Consultant Architect, BEA Systems Ltd