aboutsummaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-13 01:50:15 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-13 01:50:15 +0000
commit8ee0a7729c3cddaf4ea2bc7a7958cb429e8d8986 (patch)
treec85729412f95a4cc0b0b813631f64244d862d092 /misc.c
parent321a79301024b4fb1d983b8eb58ff0e55f0c78e9 (diff)
downloadslirp-8ee0a7729c3cddaf4ea2bc7a7958cb429e8d8986.zip
slirp-8ee0a7729c3cddaf4ea2bc7a7958cb429e8d8986.tar.gz
slirp-8ee0a7729c3cddaf4ea2bc7a7958cb429e8d8986.tar.bz2
Prevent cpsr_write/_read be put out of line in op.o (fixes a segfault on some platforms).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3633 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/misc.c b/misc.c
index 5a039d2..b2dac11 100644
--- a/misc.c
+++ b/misc.c
@@ -304,8 +304,6 @@ int fork_exec(struct socket *so, const char *ex, int do_pty)
lprint("Error: openpty failed: %s\n", strerror(errno));
return 0;
}
-#else
- return 0;
#endif
} else {
addr.sin_family = AF_INET;