diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-09-02 19:18:34 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-09-02 19:18:34 +0000 |
commit | 2287c9661c07e2dd77a186040ed174b0309ea21d (patch) | |
tree | 81762089d3d25d6c988b32c2898582d27c5d3a78 | |
parent | 7e7b28011a7f88bd1d17bab46d23f3b23ca8b358 (diff) | |
download | ATCD-2287c9661c07e2dd77a186040ed174b0309ea21d.tar.gz |
*** empty log message ***
-rw-r--r-- | ChangeLog-98b | 16 | ||||
-rw-r--r-- | examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp | 2 | ||||
-rw-r--r-- | examples/IPC_SAP/SOCK_SAP/CPP-inserver-fancy.cpp | 7 |
3 files changed, 11 insertions, 14 deletions
diff --git a/ChangeLog-98b b/ChangeLog-98b index d113769cde8..0a6b73e6f11 100644 --- a/ChangeLog-98b +++ b/ChangeLog-98b @@ -1,18 +1,8 @@ Wed Sep 2 11:10:08 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> - * Replaced the use of ACE_SUCCESS and ACE_FAILURE to be 0 and -1 - respectively. This should fix a bunch of niggling problems... - - * netsvcs/lib/TS_Server_Handler.cpp (abandon): changed the use of - FAILURE to -1 to be consistent with the following change. - - * ace/Time_Request_Reply: Removed the FAILURE constant enum. This - was rather pointless... - - * ace/Name_Request_Reply.h (ACE_Name_Reply): Changed the type of - ACE_UINT32 type_ to ACE_INT32 so that it can hold values 0 and - -1. This will allow us to get rid of the horrible "SUCCESS" and - "FAILURE" macros... + * examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp: Fixed another + void * -> char * problem. Now this stuff all seems to build + fine. Wed Sep 02 10:07:15 1998 David L. Levine <levine@cs.wustl.edu> diff --git a/examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp b/examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp index 321b505e614..2c8de27a7fd 100644 --- a/examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp +++ b/examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp @@ -291,7 +291,7 @@ Options::shared_client_test (u_short port, ACE_INT32 len = htonl (this->message_len ()); // Allocate the transmit buffer. - void *buf; + char *buf; ACE_NEW_RETURN (buf, char[len], 0); diff --git a/examples/IPC_SAP/SOCK_SAP/CPP-inserver-fancy.cpp b/examples/IPC_SAP/SOCK_SAP/CPP-inserver-fancy.cpp index 7f7702ce05d..c02b05b2cce 100644 --- a/examples/IPC_SAP/SOCK_SAP/CPP-inserver-fancy.cpp +++ b/examples/IPC_SAP/SOCK_SAP/CPP-inserver-fancy.cpp @@ -131,6 +131,9 @@ public: Options (void); // Constructor. + ~Options (void); + // Destructor. + int parse_args (int argc, char *argv[]); // Parse the command-line arguments. @@ -172,6 +175,10 @@ Options::reply_message_len (void) const return this->reply_message_len_; } +Options::~Options (void) +{ +} + Options::Options (void) : verbose_ (0), port_ (ACE_DEFAULT_SERVER_PORT), |