Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Wed, 2 Jan 2002 11:04:51 +0100
From: Corinna Vinschen <cygwin@cygwin.com>
To: Cygwin <cygwin@sources.redhat.com>
Subject: Re: duplicate regexec/regcomp functions detected
Message-ID: <20020102110451.F27340@cygbert.vinschen.de>
Mail-Followup-To: Corinna Vinschen <cygwin@cygwin.com>,
	Cygwin <cygwin@sources.redhat.com>
References: <20020101160631.B27340@cygbert.vinschen.de> <002501c19320$0fb94080$865c07d5@BRAMSCHE>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <002501c19320$0fb94080$865c07d5@BRAMSCHE>
User-Agent: Mutt/1.3.22.1i

On Wed, Jan 02, 2002 at 12:57:25AM +0100, Ralf Habacker wrote:
> Thanks for this hints. While porting kdelibs I have had to explicity closed and delete the
> socket file before I can bound to it (which wasn't used under other ported os) and as I found
> the decribed code in the bind() function, the first thoughts was that this may be the
> problem. After this correction I will look at the kde code to identify the called functions.
> Perhaps the problem is the getsockname().

I have checked in a fix to getsockname() to return the correct result
for AF_LOCAL/AF_UNIX sockets as well.  You can find it in the current
sources from CVS.

> After looking in the code I have an additional question. Does cygwin and linux differs in the
> possibilites of deleting of open files ? This could be a difference, because I have found
> that before binding an unlink() is made, but fails.

The usual Win32/Posix difference:  You can't unlink a file on Win32
which is still in use.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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

