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.10/src/login.c.orig (-2 / +2 lines)
Lines 660-667 Link Here
660
      opentty (ttyn);
660
      opentty (ttyn);
661
      tcsetattr (0, TCSAFLUSH, &tt);
661
      tcsetattr (0, TCSAFLUSH, &tt);
662
662
663
      if ((tty = strrchr (ttyn, '/')))
663
      if (!strncmp (ttyn, "/dev/", 5))
664
	++tty;
664
	tty = ttyn + 5;
665
      else
665
      else
666
	tty = ttyn;
666
	tty = ttyn;
667
    }
667
    }

Return to bug 28736