Andy has been slightly too trigger happy in his warning
elimination. But then, now it is implemented the right way.
OG.
1998-04-25 Olivier Galibert <galibert(a)pobox.com>
* s/irix5-0.h (PTY_OPEN): Ditto
* s/irix4-0.h (PTY_OPEN): Restore the stb variable.
Index: src/s/irix4-0.h
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs-20/src/s/irix4-0.h,v
retrieving revision 1.5
diff -u -r1.5 irix4-0.h
--- irix4-0.h 1998/03/31 20:12:28 1.5
+++ irix4-0.h 1998/04/25 17:29:07
@@ -35,6 +35,7 @@
#define PTY_OPEN \
{ \
char *name; \
+ struct stat stb; \
EMACS_BLOCK_SIGCHLD; \
name = _getpty (&fd, O_RDWR | O_NDELAY, 0600, 0); \
EMACS_UNBLOCK_SIGCHLD; \
Index: src/s/irix5-0.h
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs-20/src/s/irix5-0.h,v
retrieving revision 1.7
diff -u -r1.7 irix5-0.h
--- irix5-0.h 1998/03/31 20:12:28 1.7
+++ irix5-0.h 1998/04/25 17:29:07
@@ -42,6 +42,7 @@
#define PTY_OPEN \
{ \
char *name; \
+ struct stat stb; \
EMACS_BLOCK_SIGCHLD; \
name = _getpty (&fd, O_RDWR | O_NDELAY, 0600, 0); \
EMACS_UNBLOCK_SIGCHLD; \