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.1 by cebix, 2002-07-31T16:46:14Z vs.
Revision 1.3 by asvitkine, 2011-03-11T16:41:18Z

# Line 68 | Line 68 | RCSID("$OpenBSD: sshpty.c,v 1.4 2001/12/
68   #include "log.h"
69   #include "misc.h"
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   /* Pty allocated with _getpty gets broken if we do I_PUSH:es to it. */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines