]> sourceware.org Git - newlib-cygwin.git/commitdiff
* newsym: Use correct prefix for generating imports.
authorChristopher Faylor <me@cgf.cx>
Sun, 6 Jul 2003 23:24:13 +0000 (23:24 +0000)
committerChristopher Faylor <me@cgf.cx>
Sun, 6 Jul 2003 23:24:13 +0000 (23:24 +0000)
* pinfo.cc (_pinfo::commune_send): Don't wait forever for a response from
another process.

winsup/cygwin/ChangeLog
winsup/cygwin/newsym
winsup/cygwin/pinfo.cc

index 13749d0f453bbe1f84486e690a3e9aa7f5b712c4..16b75af7e7d721d48f08361c07c5a2600bd8b4ae 100644 (file)
@@ -1,3 +1,9 @@
+2003-07-06  Christopher Faylor  <cgf@redhat.com>
+
+       * newsym: Use correct prefix for generating imports.
+       * pinfo.cc (_pinfo::commune_send): Don't wait forever for a response
+       from another process.
+
 2003-07-06  Christopher Faylor  <cgf@redhat.com>
 
        * syscalls.cc (gethostid): Set thread affinity so that results are
index 688a8c6f8787b46c157de098325a4cc52942fe39..2453afd5f4b502c64325452f355754b811972fb2 100755 (executable)
@@ -11,7 +11,7 @@ while [ -n "$1" ]; do
     oldsym=$1; shift
     cat <<EOF > newsym.dir/$newsym.s
        .section .idata$6
-       .extern __imp__$oldsym
+       .extern __imp_$oldsym
        .extern __head_cygwin1_dll
        .section .text
        .global _$newsym
index 625f0224fa4cce2253acf998400666fb2c392f9b..8899defb3b32b311bb9a1d3b1c8991ba040ca51d 100644 (file)
@@ -363,7 +363,7 @@ _pinfo::commune_send (DWORD code)
 
   /* FIXME: Need something better than an busy loop here */
   bool isalive;
-  while ((isalive = alive ()))
+  for (int i = 0; (isalive = alive ()) || (i < 65536); i++)
     if (myself->hello_pid <= 0)
       break;
     else
This page took 0.035751 seconds and 5 git commands to generate.