aboutsummaryrefslogtreecommitdiff
path: root/winsup/configure
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2007-08-10 19:36:46 +0000
committerJeff Johnston <jjohnstn@redhat.com>2007-08-10 19:36:46 +0000
commit847e89f8e1f05115b9f719a319f7f7405f246e9b (patch)
treece1f1b5f8b037cd14bec973b42a3e9167ec65488 /winsup/configure
parent5ede1e7109d64472c66429f1fffcd0f37fa45e0a (diff)
downloadnewlib-847e89f8e1f05115b9f719a319f7f7405f246e9b.zip
newlib-847e89f8e1f05115b9f719a319f7f7405f246e9b.tar.gz
newlib-847e89f8e1f05115b9f719a319f7f7405f246e9b.tar.bz2
2007-08-10 Carlos O'Donell <carlos@codesourcery.com>
2007-07-12 Daniel Jacobowitz <dan@codesourcery.com> * arm/syscalls.c (_stat): Use _close * arm/syscalls.c (struct poslog): Rename to... (struct fdent): ... this. (FILE_HANDLE_OFFSET): Remove. (findslot): Return a struct fdent* if fd is valid, otherwise return NULL. (newslot): New function. (remap_handle): Remove. (initialise_monitor_handles): Use stdout as fallback for stderr. (wrap): Rename to... (checkerror): ... this. (_swiread): Use checkerror() for the return of SWI calls. Correct the use of r0. (_read): Use findslot(). Return EBADF on bad handle. (_swilseek): Call findslot(). Check for valid whence. Check for negative offset when using SEEK_CUR, and check for overflow. Use checkerror(). Check *_Flen calls for errors. (_swiwrite): Correct the use of r0. (_write): Call findslot(). (_swiopen): Call findslot(). Check for valid flags. Use checkerror(). Call newslot(). Handle O_TRUNC, and O_WRONLY. Return index into openfiles[] for fd. (_swiclose): Correct the use of r0. (_close): Handle stderr == stdout case. Only reclaim handle if _swiclose succeeded. (_getpid): Use __attribute__((unused)). (_sbrk): Fix formatting. (_swistat): New function. (_stat): Call _swistat(). (_fstat): Call _swistat(). (_unlink): Correct the use of r0. (isatty): Call finslot(). Correct the use of r0. (_system): Call checkerror(). Correct the use of r0. (_rename): Correct the use of r0.
Diffstat (limited to 'winsup/configure')
0 files changed, 0 insertions, 0 deletions