Displaying 7 results from an estimated 7 matches for "have__getpty".
2002 May 09
4
make distprep broken?
Hello All,
Doing a make distprep doesn't seem to work anymore:
$ make -f Makefile.in distprep
make: @SH@: Command not found
make: *** [catman-do] Error 127
I've seen this on AIX & Redhat (gnu make) and Solaris (native make). I
suspect this occurs on most platforms. Is this still the recommended way
of autoreconf'ing CVS releases for building?
-Daz.
2000 Jan 07
1
Slackware 4.0: wtmp and pty.c problems
...clared identifier is reported only once
pty.c:122: for each function it appears in.)
make: *** [pty.o] Error 1
If I then edit pty.c and add a line after the test, unconditionally
undefining HAVE_DEV_PTMX like this:
/* Pty allocated with _getpty gets broken if we do I_PUSH:es to it. */
#if defined(HAVE__GETPTY) || defined(HAVE_OPENPTY)
#undef HAVE_DEV_PTMX
#endif
#undef HAVE_DEV_PTMX
Then everything compiles, installs and functions ALMOST normally.
However, /var/log/wtmp is NOT updated.
Login messages appear in syslog quite normally, /var/run/utmp appears to be
updated properly, but /var/log/wtmp is...
1999 Dec 09
1
openssh-1.2pre16 patch to pty.c for Solaris 2.6
...undeclared (first use in this function)
pty.c:115: (Each undeclared identifier is reported only once
pty.c:115: for each function it appears in.)
make: *** [pty.o] Error 1
Possible Patch:
Index: pty.c
--- pty.c~ 1999/12/09 09:31:41
+++ pty.c 1999/12/09 16:41:46
@@ -27,6 +27,12 @@
#if defined(HAVE__GETPTY) || defined(HAVE_OPENPTY)
#undef HAVE_DEV_PTMX
#endif
+
+#ifdef HAVE_DEV_PTMX
+#ifndef I_PUSH
+#include <stropts.h>
+#endif /* I_PUSH */
+#endif /* HAVE_DEV_PTMX */
#ifndef O_NOCTTY
#define O_NOCTTY 0
Enjoy!
-- Mark
2001 Jan 31
1
PTY
environment
1)compiler: cc -v
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/2.95.2/specs
gcc version 2.95.2 19991024 (release)
2)openssh: CVS from 31 jan 2001
3)libc: GNU libc 2.2.1
output form make pty.o is:
#make pty.o
gcc -g -O2 -Wall -I/usr/local/ssl/include -I. -I. -DETCDIR=\"/etc\"
-D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\"
2001 Feb 17
2
Where is OpenSSH 2.5.0p1?
...return 0;
}
- strlcpy(namebuf, buf, namebuflen); /* possible truncation */
+ name = ttyname(*ttyfd);
+ if (!name)
+ fatal("openpty returns device for which ttyname fails.");
+
+ strlcpy(namebuf, name, namebuflen); /* possible truncation */
return 1;
#else /* HAVE_OPENPTY */
#ifdef HAVE__GETPTY
1999 Dec 21
0
Problem with UTMP recording
...#define SIZEOF_INT 4
/* The number of bytes in a long int. */
#define SIZEOF_LONG_INT 4
/* The number of bytes in a long long int. */
#define SIZEOF_LONG_LONG_INT 8
/* The number of bytes in a short int. */
#define SIZEOF_SHORT_INT 2
/* Define if you have the _getpty function. */
/* #undef HAVE__GETPTY */
/* Define if you have the arc4random function. */
/* #undef HAVE_ARC4RANDOM */
/* Define if you have the mkdtemp function. */
/* #undef HAVE_MKDTEMP */
/* Define if you have the openpty function. */
/* #undef HAVE_OPENPTY */
/* Define if you have the setenv function. */
#define HAVE_SETE...
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...C_H */
/* #undef HAVE_UTIL_H */
#define HAVE_UTIMES 1
#define HAVE_UTIME_H 1
#define HAVE_UTMPNAME 1
#define HAVE_UTMPXNAME 1
#define HAVE_UTMPX_H 1
#define HAVE_UTMP_H 1
#define HAVE_VHANGUP 1
/* #undef HAVE_VIS_H */
#define HAVE_VSNPRINTF 1
#define HAVE_WAITPID 1
#define HAVE__GETLONG 1
/* #undef HAVE__GETPTY */
#define HAVE__GETSHORT 1
/* #undef HAVE___B64_NTOP */
/* #undef HAVE___B64_PTON */
/* #undef LLONG_MAX */
/* #undef LLONG_MIN */
/* #undef NEED_SETPRGP */
#define PACKAGE_BUGREPORT "openssh-unix-dev at mindrot.org"
#define PACKAGE_NAME "OpenSSH"
#define PACKAGE_STRING "O...