bug-hurd
[Top][All Lists]
Advanced

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

Re: /dev/console switching: the continuing saga


From: David Walter
Subject: Re: /dev/console switching: the continuing saga
Date: Wed, 20 Nov 2002 22:33:02 -0500
User-agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Honest Recruiter, hurd-i386-debian)

Roland McGrath <roland@frob.com> writes:

> It should be in a different spot.  Please let me know if this works instead
> of your patch:

That works.

> --- main.c.~1.32.~  Tue Nov 19 22:03:35 2002
> +++ main.c        Wed Nov 20 15:24:21 2002
> @@ -230,6 +230,8 @@ parse_opt (int opt, char *arg, struct ar
>      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;
>                  }


-- 
pub  1024D/DC92AE30 2002-02-26 David Walter <dwalter@syr.edu>
fingerprint = 50A0 E513 732D 1D0F BD26  C84E A8DD 9D80 DC92 AE30
sub  2048g/51023582 2002-02-26




reply via email to

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