diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-08-19 19:00:41 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-08-19 19:00:41 +0000 |
commit | 8c11e5ea784a97906c21289741a79659621038b1 (patch) | |
tree | b334e02a06699de3cb93cd092e8300533ce9a59a | |
parent | a124054f11272da65ab027050bf886cdd46873ae (diff) | |
download | ATCD-8c11e5ea784a97906c21289741a79659621038b1.tar.gz |
ChangeLogTag:Thu Aug 19 13:03:07 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
-rw-r--r-- | ChangeLog-99b | 4 | ||||
-rw-r--r-- | ace/ACE.h | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog-99b b/ChangeLog-99b index f248ad051be..a830f713850 100644 --- a/ChangeLog-99b +++ b/ChangeLog-99b @@ -1,5 +1,9 @@ Thu Aug 19 13:03:07 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> + * ace/ACE.h (ACE): Fixed a "cut & paste" error in the comment -- + basename should have been dirname. Thanks to Mark Hyett + <mhyett@std.saic.com> for reporting this. + * ace/ACE.cpp: Fixed a bug in ACE::dirname() that was causing problems if the pathname didn't have a delim character. Thanks to Russ Noseworthy for reporting this and providing a fix. diff --git a/ace/ACE.h b/ace/ACE.h index e291bceca8a..ea73587dbd4 100644 --- a/ace/ACE.h +++ b/ace/ACE.h @@ -505,10 +505,10 @@ public: static const char *dirname (const char *pathname, char delim = ACE_DIRECTORY_SEPARATOR_CHAR_A); - // Returns the "dirname" of a <pathname>. For instance, the - // basename of "/tmp/foo.cpp" is "/tmp" when <delim> is '/'. If - // <pathname> has no <delim> ".\0" is returned. This method does - // not modify <pathname> and is not reentrant. + // Returns the "dirname" of a <pathname>. For instance, the dirname + // of "/tmp/foo.cpp" is "/tmp" when <delim> is '/'. If <pathname> + // has no <delim> ".\0" is returned. This method does not modify + // <pathname> and is not reentrant. #if defined (ACE_HAS_UNICODE) // A collection of wide string functions. See above for details. |