summaryrefslogtreecommitdiff
path: root/ace/Dirent_Selector.cpp
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-10 19:59:37 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-10 19:59:37 +0000
commit3df4acfa816441fc28a95dee6d0191a927145d95 (patch)
treeb5ae7ca44662cfd8e5c95f1826e4406021a606f5 /ace/Dirent_Selector.cpp
parent60a5612b83d856fc0adc52b9f39fac9960ec9818 (diff)
downloadATCD-pre-subset.tar.gz
This commit was manufactured by cvs2svn to create tag 'pre-subset'.pre-subset
Diffstat (limited to 'ace/Dirent_Selector.cpp')
-rw-r--r--ace/Dirent_Selector.cpp44
1 files changed, 0 insertions, 44 deletions
diff --git a/ace/Dirent_Selector.cpp b/ace/Dirent_Selector.cpp
deleted file mode 100644
index bef6c40a8d1..00000000000
--- a/ace/Dirent_Selector.cpp
+++ /dev/null
@@ -1,44 +0,0 @@
-// $Id$
-
-#include "ace/OS.h"
-#include "ace/Dirent_Selector.h"
-
-#if !defined (__ACE_INLINE__)
-#include "ace/Dirent_Selector.inl"
-#endif /* __ACE_INLINE__ */
-
-ACE_RCSID (ace,
- Dirent_Selector,
- "$Id$")
-
-// Construction/Destruction
-
-ACE_Dirent_Selector::ACE_Dirent_Selector (void)
- : namelist_ (0),
- n_ (0)
-{
-}
-
-ACE_Dirent_Selector::~ACE_Dirent_Selector (void)
-{
-}
-
-int
-ACE_Dirent_Selector::open (const ACE_TCHAR *dir,
- int (*sel)(const dirent *d),
- int (*cmp) (const dirent **d1,
- const dirent **d2))
-{
- n_ = ACE_OS::scandir (dir, &this->namelist_, sel, cmp);
- return n_;
-}
-
-int
-ACE_Dirent_Selector::close (void)
-{
- for (--n_; n_>=0; --n_)
- ACE_OS::free (this->namelist_[n_]);
-
- ACE_OS::free (this->namelist_);
- return 0;
-}