[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libcvd-members] libcvd/cvd_src/Win32 win32.cpp
From: |
Gerhard Reitmayr |
Subject: |
[libcvd-members] libcvd/cvd_src/Win32 win32.cpp |
Date: |
Sun, 12 Jul 2009 16:24:22 +0000 |
CVSROOT: /cvsroot/libcvd
Module name: libcvd
Changes by: Gerhard Reitmayr <gerhard> 09/07/12 16:24:22
Modified files:
cvd_src/Win32 : win32.cpp
Log message:
make sure the filenames are sorted
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libcvd/cvd_src/Win32/win32.cpp?cvsroot=libcvd&r1=1.2&r2=1.3
Patches:
Index: win32.cpp
===================================================================
RCS file: /cvsroot/libcvd/libcvd/cvd_src/Win32/win32.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- win32.cpp 12 Jul 2009 16:20:37 -0000 1.2
+++ win32.cpp 12 Jul 2009 16:24:22 -0000 1.3
@@ -3,6 +3,7 @@
#include <time.h>
#include <string>
#include <vector>
+#include <algorithm>
#include <io.h>
#if defined(_MSC_VER) || defined(_MSC_EXTENSIONS)
@@ -76,6 +77,7 @@
} while( _findnexti64( hFile, &c_file ) == 0 );
_findclose( hFile );
}
+ std::sort(ret.begin(), ret.end());
return ret;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libcvd-members] libcvd/cvd_src/Win32 win32.cpp,
Gerhard Reitmayr <=