From 6f03fc87b2858caf3424639cbba2d38f8f8f3029 Mon Sep 17 00:00:00 2001 From: chatty Date: Tue, 10 May 1994 11:36:05 +0000 Subject: Added fcntl.h --- comm/OLD/tellagent.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'comm') diff --git a/comm/OLD/tellagent.cc b/comm/OLD/tellagent.cc index 4123512..d112c75 100644 --- a/comm/OLD/tellagent.cc +++ b/comm/OLD/tellagent.cc @@ -25,6 +25,7 @@ #include #include #include +#include class INPUT; class TELLER; @@ -63,8 +64,8 @@ INPUT :: HandleRead () SysError (ErrFatal, "read input"); if (n == 0) { if (input.BufLength ()) { - input.Append ('\n'); - input.Append ('\0'); + input.WriteChar ('\n'); + input.WriteChar ('\0'); tell->Send ((const char*) input.Buffer ()); input.Flush (); } @@ -99,7 +100,7 @@ TELLER :: Execute (const UchTextLine& l) return isCmdOk; UchMsgBuffer buf; l.Unparse (&buf); - buf.Append ('\n'); + buf.WriteChar ('\n'); out->WriteBuffer (buf); return isCmdOk; } -- cgit v1.1