OSDN Git Service

* sync.cc: Fix comment.
authorcgf <cgf>
Tue, 29 Nov 2011 17:26:56 +0000 (17:26 +0000)
committercgf <cgf>
Tue, 29 Nov 2011 17:26:56 +0000 (17:26 +0000)
* dll_init.cc (dll_list::reserve_space): Use %p rather than %lx to show
reserved space.

winsup/cygwin/ChangeLog
winsup/cygwin/dll_init.cc
winsup/cygwin/sync.cc

index 5cb4a38..7056124 100644 (file)
@@ -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.
 
index bf56c45..12896e2 100644 (file)
@@ -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);
 }
 
index 0731fd1..f379627 100644 (file)
@@ -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)
 {