diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2013-12-01 10:27:16 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2013-12-01 10:27:16 +0000 |
commit | eeaa47ef214fa40d00b1fc1cf7e2eba2156f9562 (patch) | |
tree | 3ea5f713f44bcdd81ad9bb55cc6aebf28c186d34 | |
parent | bc54373f85bc5bf1055943dc9bb3a8805f413503 (diff) | |
download | newlib-eeaa47ef214fa40d00b1fc1cf7e2eba2156f9562.zip newlib-eeaa47ef214fa40d00b1fc1cf7e2eba2156f9562.tar.gz newlib-eeaa47ef214fa40d00b1fc1cf7e2eba2156f9562.tar.bz2 |
* dtable.cc (dtable::extend): Change local variable new_size to size_t
as well.
* thread.cc: Fix comment.
-rw-r--r-- | winsup/cygwin/ChangeLog | 7 | ||||
-rw-r--r-- | winsup/cygwin/dtable.cc | 2 | ||||
-rw-r--r-- | winsup/cygwin/thread.cc | 4 |
3 files changed, 10 insertions, 3 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 2929410..3cf5e81 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,10 @@ +2013-12-01 Corinna Vinschen <corinna@vinschen.de> + + * dtable.cc (dtable::extend): Change local variable new_size to size_t + as well. + + * thread.cc: Fix comment. + 2013-11-30 Christopher Faylor <me.cygwin2013@cgf.cx> * dtable.h (dtable::first_fd_for_open): Change declaration to size_t. diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc index bbec732..3934e00 100644 --- a/winsup/cygwin/dtable.cc +++ b/winsup/cygwin/dtable.cc @@ -74,7 +74,7 @@ set_std_handle (int fd) int dtable::extend (size_t howmuch) { - int new_size = size + howmuch; + size_t new_size = size + howmuch; fhandler_base **newfds; if (new_size > OPEN_MAX_MAX) diff --git a/winsup/cygwin/thread.cc b/winsup/cygwin/thread.cc index 0e0d301..8cec7fb 100644 --- a/winsup/cygwin/thread.cc +++ b/winsup/cygwin/thread.cc @@ -826,8 +826,8 @@ pthread::cancel () posix_fallocate () posix_madvise () posix_openpt () - o posix_spawn () - o posix_spawnp () + posix_spawn () + posix_spawnp () o posix_trace_clear () o posix_trace_close () o posix_trace_create () |