Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog15
-rw-r--r--winsup/cygwin/Makefile.in2
-rw-r--r--winsup/cygwin/cygthread.cc2
-rw-r--r--winsup/cygwin/fhandler_console.cc2
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)