projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5ed0c5
)
[libdvdread] Remove symlink checking as this is not needed by xbmc
author
Voyager1
<voyager@xbmc.org>
Sun, 12 May 2013 16:30:54 +0000
(18:30 +0200)
committer
Voyager1
<voyager@xbmc.org>
Wed, 15 May 2013 17:59:52 +0000
(19:59 +0200)
lib/libdvd/libdvdread/src/dvd_reader.c
patch
|
blob
|
history
diff --git
a/lib/libdvd/libdvdread/src/dvd_reader.c
b/lib/libdvd/libdvdread/src/dvd_reader.c
index
d9544b3
..
57dd2d0
100644
(file)
--- a/
lib/libdvd/libdvdread/src/dvd_reader.c
+++ b/
lib/libdvd/libdvdread/src/dvd_reader.c
@@
-425,8
+425,9
@@
dvd_reader_t *DVDOpen( const char *ppath )
if( !(path_copy = strdup( path ) ) )
goto DVDOpen_error;
-#if
ndef WIN32
/* don't have fchdir, and getcwd( NULL, ... ) is strange */
+#if
!defined(WIN32) && !defined(_XBMC)
/* don't have fchdir, and getcwd( NULL, ... ) is strange */
/* Also WIN32 does not have symlinks, so we don't need this bit of code. */
+ /* XBMC also doesn't need symlink resolution */
/* Resolve any symlinks and get the absolute dir name. */
{