delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/02/05:05:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 2 Jan 2002 11:04:51 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: Cygwin <cygwin AT sources DOT redhat DOT com>
Subject: Re: duplicate regexec/regcomp functions detected
Message-ID: <20020102110451.F27340@cygbert.vinschen.de>
Mail-Followup-To: Corinna Vinschen <cygwin AT cygwin DOT com>,
Cygwin <cygwin AT sources DOT redhat DOT com>
References: <20020101160631 DOT B27340 AT cygbert DOT vinschen DOT de> <002501c19320$0fb94080$865c07d5 AT BRAMSCHE>
Mime-Version: 1.0
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 AT cygwin DOT 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/

- Raw text -


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