ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/sshpty.c
(Generate patch)

Comparing BasiliskII/src/Unix/sshpty.c (file contents):
Revision 1.2 by gbeauche, 2003-08-17T10:20:22Z vs.
Revision 1.7 by asvitkine, 2012-06-17T23:15:10Z

# Line 70 | Line 70 | RCSID("$OpenBSD: sshpty.c,v 1.4 2001/12/
70   #else /* stubs for BasiliskII */
71   #define log printf
72   #define error printf
73 < #define fatal(x) {printf("Fatal error: %s", x); return 0}
73 > #define fatal(x) do { printf("Fatal error: %s", x); return 0; } while(0)
74   #endif /* not in BasiliskII */
75  
76 + #define mysig_t sig_t
77 + #define mysignal signal
78 + #include <signal.h>
79 +
80   /* Pty allocated with _getpty gets broken if we do I_PUSH:es to it. */
81   #if defined(HAVE__GETPTY) || defined(HAVE_OPENPTY)
82   #undef HAVE_DEV_PTMX
# Line 84 | Line 88 | RCSID("$OpenBSD: sshpty.c,v 1.4 2001/12/
88   #if defined(HAVE_DEV_PTMX) && defined(HAVE_SYS_STROPTS_H)
89   # include <sys/stropts.h>
90   #endif
91 + #if defined(HAVE_DEV_PTMX) && defined(HAVE_STROPTS_H)
92 + # include <stropts.h>
93 + #endif
94  
95   #ifndef O_NOCTTY
96   #define O_NOCTTY 0

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines