summaryrefslogtreecommitdiff
path: root/core/apps/embeddedkonsole/MyPty.cpp
authormickeyl <mickeyl>2004-02-25 11:27:48 (UTC)
committer mickeyl <mickeyl>2004-02-25 11:27:48 (UTC)
commit25e87d9ccc92b7a4c12518532576f55b11726b26 (patch) (side-by-side diff)
tree39c21854f8b6845736126a05f2cc89e552484881 /core/apps/embeddedkonsole/MyPty.cpp
parent50aef52b265bc8c8e5e5c6a871affe94142d74fb (diff)
downloadopie-25e87d9ccc92b7a4c12518532576f55b11726b26.zip
opie-25e87d9ccc92b7a4c12518532576f55b11726b26.tar.gz
opie-25e87d9ccc92b7a4c12518532576f55b11726b26.tar.bz2
fix most of zecke's comments. Someone should look into the open issues though
(see mail to opie-devel)
Diffstat (limited to 'core/apps/embeddedkonsole/MyPty.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/MyPty.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/core/apps/embeddedkonsole/MyPty.cpp b/core/apps/embeddedkonsole/MyPty.cpp
index e7d8274..5a8519a 100644
--- a/core/apps/embeddedkonsole/MyPty.cpp
+++ b/core/apps/embeddedkonsole/MyPty.cpp
@@ -81,3 +81,2 @@
-#undef HAVE_OPENPTY
#ifdef HAVE_OPENPTY
@@ -262,3 +261,3 @@ void MyPty::send_bytes(const char* s, int len)
- ::write(fd, s, len);
+ ::write(fd, s, len);
}
@@ -267,3 +266,3 @@ void MyPty::send_bytes(const char* s, int len)
void MyPty::readPty()
-{
+{
char buf[4096];
@@ -279,3 +278,3 @@ void MyPty::readPty()
emit block_in(buf,len);
-
+
#ifdef VERBOSE_DEBUG