Allow dtterm to at least allocate a pty on OpenBSD. Display is still mangled, however, and it frequently crashes (64bit issue).
This commit is contained in:
committed by
Jon Trulson
parent
19647809e4
commit
8bbf5a7a1b
@@ -72,7 +72,7 @@ main(int argc, char **argv)
|
||||
}
|
||||
|
||||
/* init data... */
|
||||
#if defined(USL) || defined(__uxp__) || defined(linux)
|
||||
#if defined(USL) || defined(__uxp__) || defined(linux) || defined(CSRG_BASED)
|
||||
(void) memset((void *) &myaddr_in, (int) '\0', sizeof(myaddr_in));
|
||||
#else
|
||||
(void) memset(myaddr_in, '\0', sizeof(myaddr_in));
|
||||
|
||||
Reference in New Issue
Block a user