Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <006301c13a69$d52eb670$0200a8c0@pooh> From: "Tim Gong" To: "David Starks-Browning" Cc: References: <3B9345F1 DOT 9596 DOT 38FDE837 AT localhost><004c01c134d2$6e6f77e0$b3594f40 AT bignet DOT net><5512-Sat08Sep2001175634+0100-starksb AT ebi DOT ac DOT uk><000d01c138e9$e8229340$0200a8c0 AT pooh> <9778-Mon10Sep2001111807+0100-starksb AT ebi DOT ac DOT uk> Subject: Re: how to install patch Date: Mon, 10 Sep 2001 21:31:11 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 What I meant was I followed the instructions of the FAQ to install snapshot of 9/1/2001, the snapshot is supposed to have the pthread_equal() fix, the test program indicates the fix is not installed. So there must be something wrong with the installation instructions. Tim ----- Original Message ----- From: "David Starks-Browning" To: "Tim Gong" Sent: Monday, September 10, 2001 5:18 AM Subject: Re: how to install patch > Please help me out here. What exactly does your message have to do > with the FAQ entry? > > Thanks, > David > > On Saturday 8 Sep 01, Tim Gong writes: > > I used that procedure to apply the Septerm 7 snapshot cygwin-inst-20010907.tar.bz2. > > The reason is I need the fix to pthread_equal(), which should have been patched (see > > http://sources.redhat.com/ml/cygwin/2001-07/msg01531.html). But after I rebuild the > > program: > > > > #include > > #include > > > > // #define pthread_equal(A, B) !::pthread_equal(A, B) > > > > > > main() > > { > > printf("%d\n", pthread_equal(pthread_self(), pthread_self())); > > exit(0); > > } > > > > The result is still 0. If I take out the comment before the #define, then the result is 1. This > > seems to indicate the library doesn't have the patch built in. But I examined the thread.cc, > > and it seems the patch is there. So what is happening? I noticed that another fellow has > > similar problem with regard to this (see http://sources.redhat.com/ml/cygwin/2001-09/msg00111.html > > and follow the reference). > > > > Thanks. > > > > Tim > > > > > > ----- Original Message ----- > > From: "David Starks-Browning" > > To: "Tim Gong" > > Cc: > > Sent: Saturday, September 08, 2001 11:56 AM > > Subject: Re: how to install patch > > > > > > > On Monday 3 Sep 01, Tim Gong writes: > > > > Once I get cygwin-inst-20010901.tar.bz2 and bunzip2 it, do I extract > > > > the files and overwrite the original directory? > > > > > > There is a FAQ entry "Can I use setup to install snapshots?" (which I > > > will probably rename to "How do I install snapshots") that should > > > tell you everything you need. If it's not complete, let us know. > > > (The list, not me personally.) > > > > > > Cheers, > > > David > > > > > > > > > > > > > > > > > > >
I used that procedure to apply the Septerm 7 > > snapshot cygwin-inst-20010907.tar.bz2.
> >
The reason is I need the fix to pthread_equal(), > > which should have been patched (see
> > > >
program:
> >
 
> >
#include <stdio.h>
#include > > <pthread.h>
> >
// #define pthread_equal(A, B) !::pthread_equal(A, > > B)
> >
 
> >

  main()
  {
     printf("%d\n", > > pthread_equal(pthread_self(), pthread_self()));
     > > exit(0);
  }
> >
 
> >
The result is still 0. If I take out the comment before the #define, then > > the result is 1. This
> >
seems to indicate the library doesn't have the patch built in. But I > > examined the thread.cc,
> >
and it seems the patch is there. So what is happening? I noticed that > > another fellow has
> > > >
and follow the reference).
> >
 
> >
Thanks.
> >
 
> >
Tim
> >
 
> >
 
> >
----- Original Message ----- > > > > > > > >
Sent: Saturday, September 08, 2001 11:56 > > AM
> >
Subject: Re: how to install > > patch
> >

> size=2>> On Monday 3 Sep 01, Tim Gong writes:
> > Once I get > > cygwin-inst-20010901.tar.bz2 and bunzip2 it, do I extract
> > the files > > and overwrite the original directory?
>
> There is a FAQ entry "Can > > I use setup to install snapshots?" (which I
> will probably rename to "How > > do I install snapshots") that should
> tell you everything you need.  > > If it's not complete, let us know.
> (The list, not me > > personally.)
>
> Cheers,
> David
> > >
> -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/