Test snapshot

Ben Lindstrom mouring at pconline.com
Wed Aug 23 16:25:12 EST 2000


OpenStep 4.2.. Compiles.  I've not ran any amount of tests on it yet since
I'm going to bed. =)  All the wait() stuff in the next-posix.[ch] should
be split out to it's own bsd-wait.[ch].  I'll take a look at that later
this week. 

configure.in changes to clean up the *-next-* section.

--- configure.in.orig   Wed Aug 23 01:17:38 2000
+++ configure.in        Wed Aug 23 01:19:42 2000
@@ -122,15 +122,13 @@
        need_dash_r=1
        ;;
 *-next-*)
-       # hardwire lastlog location (can't detect it on some versions)
        conf_lastlog_location="/usr/adm/lastlog"
        conf_utmp_location=/etc/utmp
+       conf_wtmp_location=/usr/adm/wtmp
+       MAIL=/usr/spool/mail
        AC_DEFINE(HAVE_NEXT)
        CFLAGS="$CFLAGS -I/usr/local/include"
-       MAIL=/usr/spool/mail
        AC_MSG_WARN([*** Tested: PA-RISC/m68k  Untested: Sparc/Intel])
-       AC_MSG_WARN([*** Expect 'scp' to fail!])
-       AC_MSG_WARN([*** Please report any problems, thanks])
        ;;
 *-*-solaris*)
        CFLAGS="$CFLAGS -I/usr/local/include"

Login utmp/wtmp patch that slipped through from the verification of the
SunOS 4.1.x direct utmp write on NeXT:

--- loginrec.c.orig     Wed Aug 23 01:05:37 2000
+++ loginrec.c  Wed Aug 23 01:06:06 2000
@@ -724,7 +724,7 @@

        /* FIXME: (ATL) ttyslot() needs local implementation */

-#if defined(SUNOS4) && defined(HAVE_GETTTYENT)
+#if defined(HAVE_GETTTYENT)
        register struct ttyent *ty;

        tty=0;
@@ -745,7 +745,7 @@

        tty = ttyslot(); /* seems only to work for /dev/ttyp? style names
*/

-#endif /* SUNOS4 && HAVE_GETTTYENT */
+#endif /* HAVE_GETTTYENT */

        if (tty > 0 && (fd = open(UTMP_FILE, O_RDWR|O_CREAT, 0644)) >= 0)
{
                (void)lseek(fd, (off_t)(tty * sizeof(struct utmp)),
SEEK_SET);







More information about the openssh-unix-dev mailing list