* 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.
This commit is contained in:
Christopher Faylor 2003-04-02 23:01:11 +00:00
parent 15fd016389
commit d99c61760e
4 changed files with 18 additions and 3 deletions

View File

@ -1,3 +1,16 @@
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> 2003-04-01 Pierre Humblet <pierre.humblet@ieee.org>
* fhandler.cc (fhandler_base::fstat): Set the uid and gid fields * fhandler.cc (fhandler_base::fstat): Set the uid and gid fields

View File

@ -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_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@ MALLOC_OFILES=@MALLOC_OFILES@

View File

@ -141,6 +141,8 @@ new (size_t)
#ifdef DEBUGGING #ifdef DEBUGGING
if (info->__name) if (info->__name)
api_fatal ("name not NULL? id %p, i %d", id, info - threads); 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 #endif
goto out; goto out;
} }

View File

@ -31,7 +31,7 @@ details. */
#include "shared_info.h" #include "shared_info.h"
#include "cygthread.h" #include "cygthread.h"
#define CONVERT_LIMIT 4096 #define CONVERT_LIMIT 16384
static BOOL static BOOL
cp_convert (UINT destcp, char *dest, UINT srccp, const char *src, DWORD size) cp_convert (UINT destcp, char *dest, UINT srccp, const char *src, DWORD size)