Handle cases where readdir() does not return the file type
authorChristian Linke <christian.linke@bmw.de>
Mon, 2 Sep 2013 11:37:37 +0000 (13:37 +0200)
committerChristian Linke <christian.linke@bmw.de>
Mon, 2 Sep 2013 11:37:37 +0000 (13:37 +0200)
commitee80a9d43cfedd41e91a825a0733eaf6cc59b26a
tree97a91410126ab404a2921a4c59908df10bd9f59c
parentda1d038f907a1ef3df2c1fa3c645918e4e1e641e
Handle cases where readdir() does not return the file type
readdir() does not guarantee that the d_type member is set on all file
systems. This resulted in plugins not being loaded on some platforms as
regular files were not detected.

Signed-off-by: Christian Linke <christian.linke@bmw.de>
AudioManagerDaemon/src/CAmCommandSender.cpp
AudioManagerDaemon/src/CAmRoutingSender.cpp