Replace readdir_r to readdir to fix build error 42/118542/1 accepted/tizen/common/20170313.162525 accepted/tizen/ivi/20170313.120228 accepted/tizen/mobile/20170313.120141 accepted/tizen/tv/20170313.120157 accepted/tizen/unified/20170313.120247 accepted/tizen/wearable/20170313.120212 submit/tizen/20170313.062244
authorJiyong Min <jiyong.min@samsung.com>
Mon, 13 Mar 2017 06:15:41 +0000 (15:15 +0900)
committerJiyong Min <jiyong.min@samsung.com>
Mon, 13 Mar 2017 06:19:30 +0000 (15:19 +0900)
commit6691f59ec36337ed86bc43cba286f875e195b3ba
tree3e926139da9f80fdb44a796ba0c9a6b48d8546c6
parenta222713c35f39e89bdbf9f1d28552a5518315a6b
Replace readdir_r to readdir to fix build error

 [Problem] After update tool chain to GCC6, 'readdir_r is deprecated' build error happen

'readdir_r' is deprecated because of below reasons.
 *  On systems where NAME_MAX is undefined, calling readdir_r() may be
    unsafe because the interface does not allow the caller to specify
    the length of the buffer used for the returned directory entry.

 *  On some systems, readdir_r() can't read directory entries with
    very long names.  When the glibc implementation encounters such a
    name, readdir_r() fails with the error ENAMETOOLONG after the
    final directory entry has been read.  On some other systems,
    readdir_r() may return a success status, but the returned d_name
    field may not be null terminated or may be truncated.

Change-Id: Iaeabf4b09ab77dfedbc161c725c27a39ec4325c2
Signed-off-by: jiyong.min <jiyong.min@samsung.com>
tests/mm_file_traverser.c