• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

external/ppp


Commit MetaInfo

Revisãoc0527a2884391e611fac83133c453e27b34cce8f (tree)
Hora2010-07-16 23:24:37
AutorJean-Baptiste Queru <jbq@goog...>
CommiterAndroid Code Review

Mensagem de Log

Merge "Added proper handling of pty-names for pipe usage."

Mudança Sumário

Diff

--- a/pppd/sys-linux.c
+++ b/pppd/sys-linux.c
@@ -2561,7 +2561,7 @@ get_pty(master_fdp, slave_fdp, slave_name, uid)
25612561 if (mfd >= 0) {
25622562 int ptn;
25632563 if (ioctl(mfd, TIOCGPTN, &ptn) >= 0) {
2564- slprintf(pty_name, sizeof(pty_name), "/dev.pts/%d", ptn);
2564+ slprintf(pty_name, sizeof(pty_name), "/dev/pts/%d", ptn);
25652565 chmod(pty_name, S_IRUSR | S_IWUSR);
25662566 #ifdef TIOCSPTLCK
25672567 ptn = 0;