commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hurd/term main.c


From: Roland McGrath
Subject: hurd/term main.c
Date: Wed, 20 Nov 2002 22:42:59 -0500

CVSROOT:        /cvsroot/hurd
Module name:    hurd
Changes by:     Roland McGrath <address@hidden> 02/11/20 22:42:59

Modified files:
        term           : main.c 

Log message:
        2002-11-20  Roland McGrath  <address@hidden>
        
        * main.c (parse_opt : case ARGP_KEY_SUCCESS): After initializing a new
        bottomhalf, call its assert_dtr hook if TTY_OPEN is set in termflags.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/term/main.c.diff?tr1=1.32&tr2=1.33&r1=text&r2=text

Patches:
Index: hurd/term/main.c
diff -u hurd/term/main.c:1.32 hurd/term/main.c:1.33
--- hurd/term/main.c:1.32       Wed Nov 20 01:05:03 2002
+++ hurd/term/main.c    Wed Nov 20 22:42:59 2002
@@ -230,6 +230,8 @@
          free (tty_arg);
          tty_arg = strdup (v->arg);
          error_t err = (*bottom->init) ();
+         if (err == 0 && (termflags & TTY_OPEN))
+           err = (*bottom->assert_dtr) ();
          mutex_unlock (&global_lock);
          return err;
        }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]