diff options
author | Christopher Faylor <me@cgf.cx> | 2003-04-02 23:01:11 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-04-02 23:01:11 +0000 |
commit | d99c61760e0516086aad7c76ece3fc968f28fdcc (patch) | |
tree | 7837b809dbba6f7c682cf25affbdfe17936399be | |
parent | 15fd016389ff35dd128a26dd0bc72d3b05596dc1 (diff) | |
download | cygnal-d99c61760e0516086aad7c76ece3fc968f28fdcc.tar.gz cygnal-d99c61760e0516086aad7c76ece3fc968f28fdcc.tar.bz2 cygnal-d99c61760e0516086aad7c76ece3fc968f28fdcc.zip |
* external.cc (check_ntsec): New function.
(cygwin_internal): Add CW_CHECK_NTSEC handling to call check_ntsec() from
applications.
* include/cygwin/version.h: Bump API minor number.
* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_CHECK_NTSEC.
* cygthread.cc (cygthread::new): Add more defensive debugging.
-rw-r--r-- | winsup/cygwin/ChangeLog | 15 | ||||
-rw-r--r-- | winsup/cygwin/Makefile.in | 2 | ||||
-rw-r--r-- | winsup/cygwin/cygthread.cc | 2 | ||||
-rw-r--r-- | winsup/cygwin/fhandler_console.cc | 2 |
4 files changed, 18 insertions, 3 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 6f9109b9c..ec0c1b005 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,18 @@ +2003-04-02 Jason Tishler <jason@tishler.net> + Christopher Faylor <cgf@redhat.com> + + * external.cc (check_ntsec): New function. + (cygwin_internal): Add CW_CHECK_NTSEC handling to call check_ntsec() + from applications. + * include/cygwin/version.h: Bump API minor number. + * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_CHECK_NTSEC. + +2003-04-02 Christopher Faylor <cgf@redhat.com> + + * cygthread.cc (cygthread::new): Add more defensive debugging. + 2003-04-01 Pierre Humblet <pierre.humblet@ieee.org> - + * fhandler.cc (fhandler_base::fstat): Set the uid and gid fields from the current effective ids. * fhandler_socket.cc (fhandler_socket::fstat): Keep the uid and gid set diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in index 2695a73d7..7c47aa38c 100644 --- a/winsup/cygwin/Makefile.in +++ b/winsup/cygwin/Makefile.in @@ -136,7 +136,7 @@ LIBCOS:=${sort ${addsuffix .o,${basename ${notdir ${wildcard $(srcdir)/lib/*.c}} EXTRA_DLL_OFILES:=${addsuffix .o,${basename ${notdir ${wildcard $(CONFIG_DIR)/*.c}}}} -EXTRA_OFILES=$(bupdir1)/libiberty/random.o $(bupdir1)/libiberty/strsignal.o +EXTRA_OFILES=$(bupdir1)/libiberty/random.o $(bupdir1)/libiberty/strsignal.o alloca.o MALLOC_OFILES=@MALLOC_OFILES@ diff --git a/winsup/cygwin/cygthread.cc b/winsup/cygwin/cygthread.cc index af70e4973..251fe5e3c 100644 --- a/winsup/cygwin/cygthread.cc +++ b/winsup/cygwin/cygthread.cc @@ -141,6 +141,8 @@ new (size_t) #ifdef DEBUGGING if (info->__name) api_fatal ("name not NULL? id %p, i %d", id, info - threads); + if (!info->h) + api_fatal ("h not set? id %p, i %d", id, info - threads); #endif goto out; } diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc index 9620b29d3..768327056 100644 --- a/winsup/cygwin/fhandler_console.cc +++ b/winsup/cygwin/fhandler_console.cc @@ -31,7 +31,7 @@ details. */ #include "shared_info.h" #include "cygthread.h" -#define CONVERT_LIMIT 4096 +#define CONVERT_LIMIT 16384 static BOOL cp_convert (UINT destcp, char *dest, UINT srccp, const char *src, DWORD size) |