projects
/
platform
/
core
/
uifw
/
tts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'origin/tizen_3.0' into tizen
[platform/core/uifw/tts.git]
/
server
/
ttsd_server.c
diff --git
a/server/ttsd_server.c
b/server/ttsd_server.c
index
1e016e5
..
8820904
100644
(file)
--- a/
server/ttsd_server.c
+++ b/
server/ttsd_server.c
@@
-557,9
+557,7
@@
static Eina_Bool __quit_ecore_loop(void *data)
static void __read_proc()
{
DIR *dp = NULL;
static void __read_proc()
{
DIR *dp = NULL;
- struct dirent entry;
struct dirent *dirp = NULL;
struct dirent *dirp = NULL;
- int ret = -1;
int tmp;
GList *iter = NULL;
int tmp;
GList *iter = NULL;
@@
-577,11
+575,7
@@
static void __read_proc()
SLOG(LOG_ERROR, tts_tag(), "[ERROR] Fail to open proc");
} else {
do {
SLOG(LOG_ERROR, tts_tag(), "[ERROR] Fail to open proc");
} else {
do {
- ret = readdir_r(dp, &entry, &dirp);
- if (0 != ret) {
- SLOG(LOG_ERROR, tts_tag(), "[ERROR] Fail to readdir");
- break;
- }
+ dirp = readdir(dp);
if (NULL != dirp) {
tmp = atoi(dirp->d_name);
if (NULL != dirp) {
tmp = atoi(dirp->d_name);