mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
not generic code
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9968eee58f
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2018-03-29 (Thu, 29 Mar 2018)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -198,14 +198,14 @@ void CRCInput::open(bool recheck)
|
||||
OpenThreads::ScopedLock<OpenThreads::Mutex> m_lock(mutex);
|
||||
|
||||
struct in_dev id;
|
||||
|
||||
#if !HAVE_GENERIC_HARDWARE
|
||||
DIR *dir;
|
||||
dir = opendir("/dev/input");
|
||||
if (! dir) {
|
||||
printf("[rcinput:%s] opendir failed: %m\n", __func__);
|
||||
return;
|
||||
}
|
||||
|
||||
#if !HAVE_GENERIC_HARDWARE
|
||||
unsigned long evbit;
|
||||
struct dirent *dentry;
|
||||
while ((dentry = readdir(dir)) != NULL)
|
||||
|
Reference in New Issue
Block a user