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:
authorChristopher Faylor <me@cgf.cx>2011-11-29 21:26:57 +0400
committerChristopher Faylor <me@cgf.cx>2011-11-29 21:26:57 +0400
commit6a28849237d7fb5b3c10134864956680c4e87328 (patch)
treef814f7d35228620faa82aab3aa116677e7e2a4ef
parent480b13a37aa1ca2e8ef6135a6d8dd9462c3df30e (diff)
* sync.cc: Fix comment.
* dll_init.cc (dll_list::reserve_space): Use %p rather than %lx to show reserved space.
-rw-r--r--winsup/cygwin/ChangeLog9
-rw-r--r--winsup/cygwin/dll_init.cc2
-rw-r--r--winsup/cygwin/sync.cc3
3 files changed, 11 insertions, 3 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 5cb4a38ca..7056124a2 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,14 @@
2011-11-29 Christopher Faylor <me.cygwin2011@cgf.cx>
+ * sync.cc: Fix comment.
+
+2011-11-29 Christopher Faylor <me.cygwin2011@cgf.cx>
+
+ * dll_init.cc (dll_list::reserve_space): Use %p rather than %lx to show
+ reserved space.
+
+2011-11-29 Christopher Faylor <me.cygwin2011@cgf.cx>
+
* sigproc.cc (remove_proc): Don't terminate the currently executing
thread.
diff --git a/winsup/cygwin/dll_init.cc b/winsup/cygwin/dll_init.cc
index bf56c4556..12896e2ef 100644
--- a/winsup/cygwin/dll_init.cc
+++ b/winsup/cygwin/dll_init.cc
@@ -427,7 +427,7 @@ dll_list::reserve_space ()
{
for (dll* d = dlls.istart (DLL_LOAD); d; d = dlls.inext ())
if (!VirtualAlloc (d->handle, d->image_size, MEM_RESERVE, PAGE_NOACCESS))
- fabort ("address space needed by '%W' (%08lx) is already occupied",
+ fabort ("address space needed by '%W' (%p) is already occupied",
d->modname, d->handle);
}
diff --git a/winsup/cygwin/sync.cc b/winsup/cygwin/sync.cc
index 0731fd18f..f3796272f 100644
--- a/winsup/cygwin/sync.cc
+++ b/winsup/cygwin/sync.cc
@@ -69,8 +69,7 @@ muto::~muto ()
Note: The goal here is to minimize, as much as possible, calls to the
OS. Hence the use of InterlockedIncrement, etc., rather than (much) more
- expensive OS mutexes. Also note that the only two valid "ms" times are
- 0 and INFINITE. */
+ expensive OS mutexes. */
int
muto::acquire (DWORD ms)
{