delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/10/22:28:58

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <gongchen AT bignet DOT net>
To: "David Starks-Browning" <starksb AT ebi DOT ac DOT uk>
Cc: <cygwin AT cygwin DOT com>
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
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" <starksb AT ebi DOT ac DOT uk>
To: "Tim Gong" <gongchen AT bignet DOT net>
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 <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
> > 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" <starksb AT ebi DOT ac DOT uk>
> > To: "Tim Gong" <gongchen AT bignet DOT net>
> > Cc: <cygwin AT cygwin DOT com>
> > 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
> > >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > <HTML><HEAD>
> > <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
> > <META content="MSHTML 5.50.4522.1800" name=GENERATOR>
> > <STYLE></STYLE>
> > </HEAD>
> > <BODY>
> > <DIV><FONT face=Arial size=2>I used that procedure to apply the Septerm
7
> > snapshot cygwin-inst-20010907.tar.bz2.</FONT></DIV>
> > <DIV><FONT face=Arial size=2>The reason is I need the fix to
pthread_equal(),
> > which should have been patched (see</FONT></DIV>
> > <DIV><FONT face=Arial size=2><A
> >
href="http://sources.redhat.com/ml/cygwin/2001-07/msg01531.html">http://sour
ces.redhat.com/ml/cygwin/2001-07/msg01531.html</A>).
> > But after I rebuild the</FONT></DIV>
> > <DIV><FONT face=Arial size=2>program:</FONT></DIV>
> > <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> > <DIV><FONT face=Arial size=2>#include &lt;stdio.h&gt;<BR>#include
> > &lt;pthread.h&gt;<BR></FONT></DIV>
> > <DIV><FONT face=Arial size=2>// #define pthread_equal(A, B)
!::pthread_equal(A,
> > B)</FONT></DIV>
> > <DIV>&nbsp;</DIV><FONT face=Arial size=2>
> > <DIV><BR>&nbsp; main()<BR>&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;
printf("%d\n",
> > pthread_equal(pthread_self(),
pthread_self()));<BR>&nbsp;&nbsp;&nbsp;&nbsp;
> > exit(0);<BR>&nbsp; }</DIV>
> > <DIV>&nbsp;</DIV>
> > <DIV>The result is still 0. If I take out the comment before the
#define, then
> > the result is 1. This</DIV>
> > <DIV>seems to indicate the library doesn't have the patch built in. But
I
> > examined the thread.cc,</DIV>
> > <DIV>and it seems the patch is there. So what is happening? I noticed
that
> > another fellow has</DIV>
> > <DIV>similar problem with regard to this (see <A
> >
href="http://sources.redhat.com/ml/cygwin/2001-09/msg00111.html">http://sour
ces.redhat.com/ml/cygwin/2001-09/msg00111.html</A></DIV>
> > <DIV>and follow the reference).</DIV>
> > <DIV>&nbsp;</DIV>
> > <DIV>Thanks.</DIV>
> > <DIV>&nbsp;</DIV>
> > <DIV>Tim</DIV>
> > <DIV></FONT>&nbsp;</DIV>
> > <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> > <DIV><FONT face=Arial size=2>----- Original Message ----- </FONT>
> > <DIV><FONT face=Arial size=2>From: "David Starks-Browning" &lt;</FONT><A
> > href="mailto:starksb AT ebi DOT ac DOT uk"><FONT face=Arial
> > size=2>starksb AT ebi DOT ac DOT uk</FONT></A><FONT face=Arial
size=2>&gt;</FONT></DIV>
> > <DIV><FONT face=Arial size=2>To: "Tim Gong" &lt;</FONT><A
> > href="mailto:gongchen AT bignet DOT net"><FONT face=Arial
> > size=2>gongchen AT bignet DOT net</FONT></A><FONT face=Arial
size=2>&gt;</FONT></DIV>
> > <DIV><FONT face=Arial size=2>Cc: &lt;</FONT><A
> > href="mailto:cygwin AT cygwin DOT com"><FONT face=Arial
> > size=2>cygwin AT cygwin DOT com</FONT></A><FONT face=Arial
size=2>&gt;</FONT></DIV>
> > <DIV><FONT face=Arial size=2>Sent: Saturday, September 08, 2001 11:56
> > AM</FONT></DIV>
> > <DIV><FONT face=Arial size=2>Subject: Re: how to install
> > patch</FONT></DIV></DIV>
> > <DIV><FONT face=Arial><BR><FONT size=2></FONT></FONT></DIV><FONT
face=Arial
> > size=2>&gt; On Monday 3 Sep 01, Tim Gong writes:<BR>&gt; &gt; Once I get
> > cygwin-inst-20010901.tar.bz2 and bunzip2 it, do I extract<BR>&gt; &gt;
the files
> > and overwrite the original directory?<BR>&gt; <BR>&gt; There is a FAQ
entry "Can
> > I use setup to install snapshots?" (which I<BR>&gt; will probably rename
to "How
> > do I install snapshots") that should<BR>&gt; tell you everything you
need.&nbsp;
> > If it's not complete, let us know.<BR>&gt; (The list, not me
> > personally.)<BR>&gt; <BR>&gt; Cheers,<BR>&gt; David<BR>&gt;
> > </FONT></BODY></HTML>
>


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019