diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2002-01-02 19:12:37 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2002-01-02 19:12:37 +0000 |
commit | 7192a066b2aa064c732f18976e2d057e6c4dbef3 (patch) | |
tree | be86e53e8d66e6cb628520193d0e1936aa2b172b | |
parent | 0eda430bf1c7227913c956610f33872fa9da79cf (diff) | |
download | ATCD-7192a066b2aa064c732f18976e2d057e6c4dbef3.tar.gz |
ChangeLogTag:Wed Jan 2 08:19:18 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-02a | 7 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-03a | 7 | ||||
-rw-r--r-- | THANKS | 1 | ||||
-rw-r--r-- | ace/FILE_Connector.h | 7 | ||||
-rw-r--r-- | ace/OS.h | 7 |
6 files changed, 36 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 0fc710ef46b..58bff6dbbdd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Wed Jan 2 08:19:18 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu> + + * ace/FILE_Connector.h, + * ace/OS.h (ACE_OS): Clarified the weak semantics of O_APPEND + on Win32. Thanks to Eugene Alterman <eugalt@myrealbox.com> for + reporting this. + Wed Jan 2 12:43:00 2002 John Aughey <jha@aughey.com> * ace/INET_Addr.h diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a index 0fc710ef46b..58bff6dbbdd 100644 --- a/ChangeLogs/ChangeLog-02a +++ b/ChangeLogs/ChangeLog-02a @@ -1,3 +1,10 @@ +Wed Jan 2 08:19:18 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu> + + * ace/FILE_Connector.h, + * ace/OS.h (ACE_OS): Clarified the weak semantics of O_APPEND + on Win32. Thanks to Eugene Alterman <eugalt@myrealbox.com> for + reporting this. + Wed Jan 2 12:43:00 2002 John Aughey <jha@aughey.com> * ace/INET_Addr.h diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a index 0fc710ef46b..58bff6dbbdd 100644 --- a/ChangeLogs/ChangeLog-03a +++ b/ChangeLogs/ChangeLog-03a @@ -1,3 +1,10 @@ +Wed Jan 2 08:19:18 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu> + + * ace/FILE_Connector.h, + * ace/OS.h (ACE_OS): Clarified the weak semantics of O_APPEND + on Win32. Thanks to Eugene Alterman <eugalt@myrealbox.com> for + reporting this. + Wed Jan 2 12:43:00 2002 John Aughey <jha@aughey.com> * ace/INET_Addr.h @@ -1401,6 +1401,7 @@ David Robison <drrobison@openroadsconsulting.com> Preston Elder <prez@srealm.net.au> Eric Peters <egpeters@u.washington.edu> Edward A Thompson <ed4becky_2000@yahoo.com> +Eugene Alterman <eugalt@myrealbox.com> I would particularly like to thank Paul Stephenson, who worked with me at Ericsson in the early 1990's. Paul devised the recursive Makefile diff --git a/ace/FILE_Connector.h b/ace/FILE_Connector.h index 0675b3ff584..859872b45d1 100644 --- a/ace/FILE_Connector.h +++ b/ace/FILE_Connector.h @@ -25,6 +25,13 @@ * @class ACE_FILE_Connector * * @brief Defines an active connection factory for the ACE_FILE wrappers. + * + * Note that the O_APPEND flag is only partly supported on Win32. If + * you specify O_APPEND, then the file pointer will be positioned at + * the end of the file initially during open, but it is not + * re-positioned at the end prior to each write, as specified by + * POSIX. This is generally good enough for typical situations, but + * it is ``not quite right'' in its semantics. */ class ACE_Export ACE_FILE_Connector { @@ -5432,6 +5432,13 @@ public: #else # define ACE_DEFAULT_OPEN_PERMS 0 #endif /* ACE_WIN32 */ + + /// The O_APPEND flag is only partly supported on Win32. If you specify + /// O_APPEND, then the file pointer will be positioned at the end of + /// the file initially during open, but it is not re-positioned at + /// the end prior to each write, as specified by POSIX. This + /// is generally good enough for typical situations, but it is ``not + /// quite right'' in its semantics. static ACE_HANDLE open (const char *filename, int mode, int perms = ACE_DEFAULT_OPEN_PERMS, |