aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThien-Thi Nguyen2005-05-01 11:34:54 +0000
committerThien-Thi Nguyen2005-05-01 11:34:54 +0000
commita72c2d97a8df00371150fe9d3dffd84559fd0479 (patch)
tree2b92e09e2d65d60decd16627136e9a97d7fe18be /src
parentb7f29772f5818da4d7d69ae5e85e48052f390038 (diff)
downloademacs-a72c2d97a8df00371150fe9d3dffd84559fd0479.tar.gz
emacs-a72c2d97a8df00371150fe9d3dffd84559fd0479.zip
(get_frame_size) [VMS]: Use a fresh i/o channel.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/sysdep.c10
2 files changed, 12 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 8c40923fefa..47d24852a66 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12005-05-01 Thien-Thi Nguyen <ttn@gnu.org>
2
3 * sysdep.c (get_frame_size) [VMS]: Use a fresh i/o channel.
4
12005-04-30 Richard M. Stallman <rms@gnu.org> 52005-04-30 Richard M. Stallman <rms@gnu.org>
2 6
3 * fileio.c (Ffind_file_name_handler): Handle the `operations' 7 * fileio.c (Ffind_file_name_handler): Handle the `operations'
diff --git a/src/sysdep.c b/src/sysdep.c
index e7494a2755d..42179d97e82 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -1718,10 +1718,16 @@ get_frame_size (widthp, heightp)
1718#else 1718#else
1719#ifdef VMS 1719#ifdef VMS
1720 1720
1721 /* Use a fresh channel since the current one may have stale info
1722 (for example, from prior to a suspend); and to avoid a dependency
1723 in the init sequence. */
1724 int chan;
1721 struct sensemode tty; 1725 struct sensemode tty;
1722 1726
1723 SYS$QIOW (0, input_fd, IO$_SENSEMODE, &tty, 0, 0, 1727 SYS$ASSIGN (&input_dsc, &chan, 0, 0);
1724 &tty.class, 12, 0, 0, 0, 0); 1728 SYS$QIOW (0, chan, IO$_SENSEMODE, &tty, 0, 0,
1729 &tty.class, 12, 0, 0, 0, 0);
1730 SYS$DASSGN (chan);
1725 *widthp = tty.scr_wid; 1731 *widthp = tty.scr_wid;
1726 *heightp = tty.scr_len; 1732 *heightp = tty.scr_len;
1727 1733