* 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

@ -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;
}