nbecker(a)fred.net writes:
I've been using this patch for unix98 ptys. Would you guys like
to
include this? Do you think it needs to be modified before it will be
accepted?
I think the test probably should autoconf based, but currently all the
others don't seem to do that either. Maybe Martin can give his view.
else
glibc should emulate with old pty behaviour
// or so I'm told
Yes. However, wasn't there a security problem with that emulation? Has
that bin fixed in newer glibc's?
*** process.h 1998/04/11 05:37:05 1.8
--- process.h 1999/09/20 13:29:18
***************
*** 134,137 ****
--- 134,149 ----
#endif /* emacs */
+ #if defined (__GLIBC__) && (__GLIBC__ >= 2) && (__GLIBC_MINOR__
>= 1)
+ # define HAVE_GETPT
+ #endif
If not autoconf bases then this should be in the s&m files, not in a
general include file.
Jan