[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: /dev/console switching: the continuing saga
From: |
Roland McGrath |
Subject: |
Re: /dev/console switching: the continuing saga |
Date: |
Wed, 20 Nov 2002 18:25:15 -0500 (EST) |
> Roland's earlier change hasn't made it to the server for some reason,
I don't know what this means.
> 2002-11-20 David Walter <dwalter@syr.edu>
>
> * hurdio.c (hurdio_init): added hurdio_assert_dtr () call to force
> the open of a device during a change of arg/type.
It should be in a different spot. Please let me know if this works instead
of your patch:
--- 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;
}
- /dev/console switching : fix: term doesn't copy arg for output device., David Walter, 2002/11/19
- Re: /dev/console switching : fix: term doesn't copy arg for output device., Roland McGrath, 2002/11/20
- Re: /dev/console switching: the continuing saga, David Walter, 2002/11/20
- Re: /dev/console switching: the continuing saga, Marcus Brinkmann, 2002/11/20
- Re: /dev/console switching: the continuing saga, David Walter, 2002/11/20
- Re: /dev/console switching: the continuing saga, David Walter, 2002/11/20
- Re: /dev/console switching: the continuing saga,
Roland McGrath <=
- Re: /dev/console switching: the continuing saga, David Walter, 2002/11/20
- Re: /dev/console switching: the continuing saga, Roland McGrath, 2002/11/20