diff options
Diffstat (limited to 'ace/ACE.inl')
-rw-r--r-- | ace/ACE.inl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ace/ACE.inl b/ace/ACE.inl index 573cae93357..507ec46108e 100644 --- a/ace/ACE.inl +++ b/ace/ACE.inl @@ -284,6 +284,13 @@ ACE::strdelete (wchar_t *s) } #endif /* ACE_HAS_WCHAR */ +ACE_INLINE bool +ACE::isdotdir (const char *s) +{ + return (s[0] == '.' && + ((s[1] == 0) || (s[1] == '.' && s[2] == 0))); +} + ACE_INLINE void ACE::unique_name (const void *object, ACE_TCHAR *name, |