libc: netdb: Fix bugs in lib_gethostbynamer.c
libc: netdb: Fix bugs in lib_gethostbynamer.c

This fix sets h_name in struct hostent returned by gethostbyname()

This patch comes from Nuttx community.
Commit id: 6ccc01ad

Change-Id: I8a92e862081e62ec2fa09c378eb86bb7c5736182
Signed-off-by: EunBong Song <1a7e7e98e070490e67aa35ab67fbf9fdda8f48ac@samsung.com>

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