mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
overload access(2)
Conflicts:
src/driver/pictureviewer/pictureviewer.cpp
src/gui/components/cc_item_picture.cpp
src/gui/movieplayer.cpp
src/gui/osdlang_setup.cpp
src/neutrino.cpp
src/nhttpd/tuxboxapi/coolstream/neutrinoapi.cpp
src/nhttpd/yhttpd.cpp
src/system/helpers.h
src/system/setting_helpers.cpp
Origin commit data
------------------
Branch: ni/coolstream
Commit: 81ca577fb8
Author: martii <m4rtii@gmx.de>
Date: 2013-06-30 (Sun, 30 Jun 2013)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -392,7 +392,7 @@ void CFileBrowser::ChangeDir(const std::string & filename, int selection)
|
||||
std::string extension = file->Name.substr(ext_pos + 1, name.length() - ext_pos);
|
||||
if(strcasecmp(extension.c_str(), "ts") == 0) {
|
||||
std::string fname = file->Name.substr(0, ext_pos) + ".xml";
|
||||
if(access(fname.c_str(), F_OK) == 0)
|
||||
if(access(fname, F_OK) == 0)
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user