[vlc-commits] Compare a filename ignoring letter case on OS/2

KO Myung-Hun git at videolan.org
Sun Jan 29 19:07:25 CET 2012


vlc/vlc-2.0 | branch: master | KO Myung-Hun <komh78 at gmail.com> | Sat Jan 28 22:42:05 2012 +0900| [c058582a1cb052009a1521fa2ab0c5f9c1282e91] | committer: Jean-Baptiste Kempf

Compare a filename ignoring letter case on OS/2

Signed-off-by: Rafaël Carré <funman at videolan.org>
(cherry picked from commit 066c6231575901d22e4750273b6e82bf85f7f061)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=c058582a1cb052009a1521fa2ab0c5f9c1282e91
---

 modules/demux/mkv/mkv.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/mkv/mkv.cpp b/modules/demux/mkv/mkv.cpp
index d06231b..fbb7620 100644
--- a/modules/demux/mkv/mkv.cpp
+++ b/modules/demux/mkv/mkv.cpp
@@ -173,7 +173,7 @@ static int Open( vlc_object_t * p_this )
                     {
                         s_filename = s_path + DIR_SEP_CHAR + psz_file;
 
-#ifdef WIN32
+#if defined(WIN32) || defined(__OS2__)
                         if (!strcasecmp(s_filename.c_str(), p_demux->psz_file))
 #else
                         if (!s_filename.compare(p_demux->psz_file))



More information about the vlc-commits mailing list