[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6273] pseudotty log bytes received
From: |
Gavin D. Smith |
Subject: |
[6273] pseudotty log bytes received |
Date: |
Sun, 17 May 2015 15:29:43 +0000 |
Revision: 6273
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6273
Author: gavin
Date: 2015-05-17 15:29:17 +0000 (Sun, 17 May 2015)
Log Message:
-----------
pseudotty log bytes received
Modified Paths:
--------------
trunk/ChangeLog
trunk/info/pseudotty.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2015-05-17 14:12:32 UTC (rev 6272)
+++ trunk/ChangeLog 2015-05-17 15:29:17 UTC (rev 6273)
@@ -6,6 +6,9 @@
* info/pseudotty.c: Include sys/select.h for fd_set and others.
Reported by Assaf Gordon.
+ * info/pseudotty.c: Log bytes received from control channel, for
+ better trouble-shooting.
+
2015-05-17 Gavin Smith <address@hidden>
* info/t/Init-inter.inc: Copy shell portability code for "local"
Modified: trunk/info/pseudotty.c
===================================================================
--- trunk/info/pseudotty.c 2015-05-17 14:12:32 UTC (rev 6272)
+++ trunk/info/pseudotty.c 2015-05-17 15:29:17 UTC (rev 6273)
@@ -74,7 +74,7 @@
if (FD_ISSET (CONTROL, &read_set))
{
- int c, success;
+ char c, success;
errno = 0;
do
{
@@ -94,7 +94,10 @@
exit (1);
}
else if (success == 1)
- break;
+ {
+ error (0, 0, "read byte 0x%02X", c);
+ break;
+ }
}
while (1);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6273] pseudotty log bytes received,
Gavin D. Smith <=