[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6267] pseudotty bug and warning fix
From: |
Gavin D. Smith |
Subject: |
[6267] pseudotty bug and warning fix |
Date: |
Sat, 16 May 2015 13:54:25 +0000 |
Revision: 6267
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6267
Author: gavin
Date: 2015-05-16 13:54:24 +0000 (Sat, 16 May 2015)
Log Message:
-----------
pseudotty bug and warning fix
Modified Paths:
--------------
trunk/ChangeLog
trunk/info/pseudotty.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2015-05-14 17:28:43 UTC (rev 6266)
+++ trunk/ChangeLog 2015-05-16 13:54:24 UTC (rev 6267)
@@ -1,3 +1,9 @@
+2015-05-16 Gavin Smith <address@hidden>
+
+ * info/pseudotty.c: Define a global "program_name" variable for
+ use by "error" function. Include string.h to make sure we get a
+ declaration of memset. Reported by Dagobert Michelsen.
+
2015-05-14 Karl Berry <address@hidden>
* texindex/texindex.in (escaped0): double backslashes in $0
Modified: trunk/info/pseudotty.c
===================================================================
--- trunk/info/pseudotty.c 2015-05-14 17:28:43 UTC (rev 6266)
+++ trunk/info/pseudotty.c 2015-05-16 13:54:24 UTC (rev 6267)
@@ -30,9 +30,13 @@
#include <sys/ioctl.h>
#include <sys/types.h>
#include <stdlib.h>
+#include <string.h>
#define CONTROL 3
+/* Used by "error" function. */
+const char *program_name = "pseudotty";
+
int
main (void)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6267] pseudotty bug and warning fix,
Gavin D. Smith <=