mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
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:
parent
19647809e4
commit
8bbf5a7a1b
3 changed files with 10 additions and 2 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue