Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 28736 | Differences between
and this patch

Collapse All | Expand All

(-)pam_login-3.11/src/login.c.orig (-2 / +2 lines)
Lines 662-669 Link Here
662
      opentty (ttyn);
662
      opentty (ttyn);
663
      tcsetattr (0, TCSAFLUSH, &tt);
663
      tcsetattr (0, TCSAFLUSH, &tt);
664
664
665
      if ((tty = strrchr (ttyn, '/')))
665
      if (!strncmp (ttyn, "/dev/", 5))
666
	++tty;
666
	tty = ttyn + 5;
667
      else
667
      else
668
	tty = ttyn;
668
	tty = ttyn;
669
    }
669
    }

Return to bug 28736