home *** CD-ROM | disk | FTP | other *** search
- --- attacher.c.orig Mon Jul 1 05:59:32 1996
- +++ attacher.c Tue Feb 11 08:42:51 1997
- @@ -799,7 +799,7 @@
- debug3("getpass(%d): %x == %s\n", errno, (unsigned int)cp1, cp1);
- if (pass)
- {
- - if (!strncmp(crypt(cp1, pass), pass, strlen(pass)))
- + if (!strncmp(cp1, pass, strlen(pass)))
- break;
- }
- else
- --- config.h.in.orig Sun Sep 1 17:54:24 1996
- +++ config.h.in Tue Feb 11 08:42:51 1997
- @@ -112,7 +112,7 @@
- #undef SIMPLESCREEN
- #ifndef SIMPLESCREEN
- # define LOCK
- -# define PASSWORD
- +# undef PASSWORD
- # define COPY_PASTE
- # define REMOTE_DETACH
- # define POW_DETACH
- @@ -461,6 +461,8 @@
- * #define PTYRANGE0 "pqrstuvwxyzPQRST"
- * is recommended by Dan Jacobson.
- */
- +#ifndef PTYRANGE0
- #undef PTYRANGE0
- +#endif
- #undef PTYRANGE1
-
- --- osdef.h.in.orig Wed Apr 17 18:12:34 1996
- +++ osdef.h.in Tue Feb 11 08:42:51 1997
- @@ -84,7 +84,7 @@
- extern int setegid __P((int));
- #endif
-
- -extern char *crypt __P((char *, char *));
- +/* extern char *crypt __P((char *, char *)); */
- extern int putenv __P((char *));
-
- extern int tgetent __P((char *, char *));
- --- process.c.orig Mon Jul 1 05:54:32 1996
- +++ process.c Tue Feb 11 08:42:51 1997
- @@ -3690,7 +3690,7 @@
- }
- for (st = 0; st < 2; st++)
- salt[st] = 'A' + (int)((time(0) >> 6 * st) % 26);
- - strncpy(Password, crypt(Password, salt), sizeof(Password) - 1);
- + strncpy(Password, Password, sizeof(Password) - 1);
- if (CheckPassword)
- {
- #ifdef COPY_PASTE
- --- socket.c.orig Mon Jul 1 07:58:58 1996
- +++ socket.c Tue Feb 11 08:42:51 1997
- @@ -695,7 +695,7 @@
- char *pwd, *utty;
- {
- if (CheckPassword && *Password &&
- - strncmp(crypt(pwd, (strlen(Password) > 1) ? Password : "JW"), Password, strlen(Password)))
- + strncmp(pwd ? Password : "JW"), Password, strlen(Password)))
- {
- if (*pwd)
- {
- --- Makefile.in.orig Sun Sep 1 17:54:24 1996
- +++ Makefile.in Tue Feb 11 09:20:45 1997
- @@ -70,12 +70,8 @@
- $(CC) -c -I. -I$(srcdir) $(M_CFLAGS) $(DEFS) $(OPTIONS) $(CFLAGS) $<
-
- install_bin: screen
- - $(INSTALL_PROGRAM) screen $(bindir)/screen-$(VERSION)
- - -chown root $(bindir)/screen-$(VERSION) && chmod 4755 $(bindir)/screen-$(VERSION)
- -# This doesn't work if $(bindir)/screen is a symlink
- - -if [ -f $(bindir)/screen ] && [ ! -f $(bindir)/screen.old ]; then mv $(bindir)/screen $(bindir)/screen.old; fi
- - rm -f $(bindir)/screen
- - ln -s screen-$(VERSION) $(bindir)/screen
- + $(INSTALL_PROGRAM) screen $(bindir)/screen
- + -chown root $(bindir)/screen && chmod 4755 $(bindir)/screen
-
- install: installdirs install_bin
- cd doc ; $(MAKE) install
-