libc/stdlib: Error Fixes        1.Fix an error in mkstemp() the could result in an infinite loop.        2.Fix for wrong output in some cases.          For Example:          input: "FILEXX"          output: "FILE00" and repeating same output for further invocations of mkstemp().          But, the ouput has to be FILE01, FILE02, ...., FILEZZ.
libc/stdlib: Error Fixes
       1.Fix an error in mkstemp() the could result in an infinite loop.
       2.Fix for wrong output in some cases.
         For Example:
         input: "FILEXX"
         output: "FILE00" and repeating same output for further invocations of mkstemp().
         But, the ouput has to be FILE01, FILE02, ...., FILEZZ.

Signed-off-by: Lokesh B V <a10c1c2561c872cd1fd5899c4340d5ec87a91507@partner.samsung.com>

JeonginKim/TizenRT,heejin-kim/TizenRT,jsdosa/TizenRT,sangwon03/TizenRT,jeongarmy/TizenRT,kimusan/TizenRT,HONGCHAEHEE/TizenRT,shivgarg/TizenRT,shivgarg/TizenRT,chanijjani/TizenRT,jeongarmy/TizenRT,heejin-kim/TizenRT,yashwanth686007/TizenRTOS,davidfather/TizenRT,sunghan-chang/TizenRT,pillip8282/TizenRT,sunghan-chang/TizenRT,chanijjani/TizenRT,davidfather/TizenRT,EunBongSong/TizenRT,jeongchanKim/TizenRT,yashwanth686007/TizenRTOS,jeongarmy/TizenRT,shivgarg/TizenRT,chanijjani/TizenRT,Parkjihooni6186/TizenRT,junmin-kim/TizenRT,kimusan/TizenRT,chanijjani/TizenRT,JeongJunSik/TizenRT,pillip8282/TizenRT,JeongJunSik/TizenRT,JeonginKim/TizenRT,jeongchanKim/TizenRT,heejin-kim/TizenRT,sunghan-chang/TizenRT,HONGCHAEHEE/TizenRT,sunghan-chang/TizenRT,chanijjani/TizenRT,Samsung/TizenRT,davidfather/TizenRT,JeonginKim/TizenRT,yashwanth686007/TizenRTOS,davidfather/TizenRT,sunghan-chang/TizenRT,Samsung/TizenRT,Samsung/TizenRT,Parkjihooni6186/TizenRT,junmin-kim/TizenRT,an4967/TizenRT,jeongchanKim/TizenRT,Parkjihooni6186/TizenRT,heejin-kim/TizenRT,Parkjihooni6186/TizenRT,jeongarmy/TizenRT,sangwon03/TizenRT,sangwon03/TizenRT,Samsung/TizenRT,JeonginKim/TizenRT,jeongarmy/TizenRT,EunBongSong/TizenRT,lokeshbv/TizenRT,an4967/TizenRT,an4967/TizenRT,Samsung/TizenRT,jsdosa/TizenRT,shivgarg/TizenRT,btheosam/TizenRT,lokeshbv/TizenRT,sangwon03/TizenRT,lokeshbv/TizenRT,kimusan/TizenRT,yashwanth686007/TizenRTOS,JeongJunSik/TizenRT,EunBongSong/TizenRT,HONGCHAEHEE/TizenRT,btheosam/TizenRT,shivgarg/TizenRT,pillip8282/TizenRT,davidfather/TizenRT,JeongJunSik/TizenRT,jeongchanKim/TizenRT,JeonginKim/TizenRT,pillip8282/TizenRT,HONGCHAEHEE/TizenRT,EunBongSong/TizenRT,jsdosa/TizenRT,chanijjani/TizenRT,manoharahk/TizenRT,manoharahk/TizenRT,lokeshbv/TizenRT,an4967/TizenRT,sangwon03/TizenRT,JeongJunSik/TizenRT,sangwon03/TizenRT,kimusan/TizenRT,EunBongSong/TizenRT,an4967/TizenRT,JeongJunSik/TizenRT,manoharahk/TizenRT,jsdosa/TizenRT,Samsung/TizenRT,manoharahk/TizenRT,btheosam/TizenRT,jsdosa/TizenRT,an4967/TizenRT,sunghan-chang/TizenRT,shivgarg/TizenRT,junmin-kim/TizenRT,sunghan-chang/TizenRT,manoharahk/TizenRT,EunBongSong/TizenRT,junmin-kim/TizenRT,Parkjihooni6186/TizenRT,heejin-kim/TizenRT,kimusan/TizenRT,btheosam/TizenRT,HONGCHAEHEE/TizenRT,jeongarmy/TizenRT,jsdosa/TizenRT,HONGCHAEHEE/TizenRT,heejin-kim/TizenRT,pillip8282/TizenRT,junmin-kim/TizenRT,manoharahk/TizenRT,jeongchanKim/TizenRT,JeonginKim/TizenRT,btheosam/TizenRT,yashwanth686007/TizenRTOS,an4967/TizenRT,kimusan/TizenRT,lokeshbv/TizenRT,Samsung/TizenRT,jeongarmy/TizenRT,jsdosa/TizenRT,junmin-kim/TizenRT,jeongchanKim/TizenRT,btheosam/TizenRT,yashwanth686007/TizenRTOS,jeongchanKim/TizenRT,davidfather/TizenRT,pillip8282/TizenRT,Parkjihooni6186/TizenRT,junmin-kim/TizenRT,davidfather/TizenRT,lokeshbv/TizenRT,chanijjani/TizenRT,pillip8282/TizenRT