Modify _stdio_READ to conform with C99, as stdio input behavior upon    encountering EOF changed with Defect Report #141.  In the current    standard, the stream's EOF indicator is "sticky".  Once it is set,    all further input from the stream should fail until the application    explicitly clears the EOF indicator (clearerr(), file positioning),    even if more data becomes available. Fixed a bug in fgets.  Wasn't checking for read errors. Minor thread locking optimizations to avoid some unnecessary locking. Remove the explicit calls to __builtin_* funcs, as we really need to    implement a more general solution.
Modify _stdio_READ to conform with C99, as stdio input behavior upon
   encountering EOF changed with Defect Report #141.  In the current
   standard, the stream's EOF indicator is "sticky".  Once it is set,
   all further input from the stream should fail until the application
   explicitly clears the EOF indicator (clearerr(), file positioning),
   even if more data becomes available.
Fixed a bug in fgets.  Wasn't checking for read errors.
Minor thread locking optimizations to avoid some unnecessary locking.
Remove the explicit calls to __builtin_* funcs, as we really need to
   implement a more general solution.

kraj/uclibc-ng,gittup/uClibc,czankel/xtensa-uclibc,foss-for-synopsys-dwc-arc-processors/uClibc,brgl/uclibc-ng,mephi42/uClibc,majek/uclibc-vx32,ndmsystems/uClibc,ysat0/uClibc,m-labs/uclibc-lm32,gittup/uClibc,OpenInkpot-archive/iplinux-uclibc,hjl-tools/uClibc,ysat0/uClibc,kraj/uClibc,ndmsystems/uClibc,kraj/uClibc,waweber/uclibc-clang,majek/uclibc-vx32,brgl/uclibc-ng,waweber/uclibc-clang,ddcc/klee-uclibc-0.9.33.2,wbx-github/uclibc-ng,ChickenRunjyd/klee-uclibc,foss-xtensa/uClibc,hjl-tools/uClibc,hwoarang/uClibc,m-labs/uclibc-lm32,skristiansson/uClibc-or1k,majek/uclibc-vx32,hwoarang/uClibc,ffainelli/uClibc,kraj/uclibc-ng,wbx-github/uclibc-ng,hjl-tools/uClibc,groundwater/uClibc,czankel/xtensa-uclibc,hwoarang/uClibc,brgl/uclibc-ng,klee/klee-uclibc,atgreen/uClibc-moxie,hjl-tools/uClibc,wbx-github/uclibc-ng,gittup/uClibc,ddcc/klee-uclibc-0.9.33.2,czankel/xtensa-uclibc,ffainelli/uClibc,ndmsystems/uClibc,atgreen/uClibc-moxie,ffainelli/uClibc,skristiansson/uClibc-or1k,atgreen/uClibc-moxie,brgl/uclibc-ng,atgreen/uClibc-moxie,ysat0/uClibc,OpenInkpot-archive/iplinux-uclibc,gittup/uClibc,ChickenRunjyd/klee-uclibc,m-labs/uclibc-lm32,ChickenRunjyd/klee-uclibc,groundwater/uClibc,klee/klee-uclibc,kraj/uClibc,skristiansson/uClibc-or1k,foss-for-synopsys-dwc-arc-processors/uClibc,mephi42/uClibc,foss-xtensa/uClibc,ffainelli/uClibc,waweber/uclibc-clang,klee/klee-uclibc,klee/klee-uclibc,majek/uclibc-vx32,mephi42/uClibc,wbx-github/uclibc-ng,foss-for-synopsys-dwc-arc-processors/uClibc,ddcc/klee-uclibc-0.9.33.2,ndmsystems/uClibc,groundwater/uClibc,waweber/uclibc-clang,czankel/xtensa-uclibc,foss-xtensa/uClibc,ysat0/uClibc,hjl-tools/uClibc,ddcc/klee-uclibc-0.9.33.2,groundwater/uClibc,m-labs/uclibc-lm32,kraj/uclibc-ng,mephi42/uClibc,kraj/uclibc-ng,ChickenRunjyd/klee-uclibc,OpenInkpot-archive/iplinux-uclibc,ffainelli/uClibc,foss-xtensa/uClibc,kraj/uClibc,groundwater/uClibc,OpenInkpot-archive/iplinux-uclibc,skristiansson/uClibc-or1k,foss-for-synopsys-dwc-arc-processors/uClibc,hwoarang/uClibc