X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0	tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1/soXd5ZzRCe8vo9K8ZQslz
Date: Mon, 13 Aug 2012 11:00:42 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Side-by-side configuration is incorrect reported as permission denied
Message-ID: <20120813150042.GA14176@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <k045k2$gvk$1@dough.gmane.org> <5025C431.7050201@cygwin.com> <CA+7connXxSSkw-fhHvqbVanEvX7YHOVVdLndmqmd07xRvFT49Q@mail.gmail.com> <20120812170641.GC32748@ednor.casa.cgf.cx> <CA+7conm=AXUX9Xfj67tGRgMbrgC47W9QHuQ2L3V2p_=7Cf81GQ@mail.gmail.com> <CA+sc5m=myjskB4zG0HARWHvZMQGz-k=j7jT=q1Gny4XpNgMfCg@mail.gmail.com> <20120812205407.GA7337@ednor.casa.cgf.cx> <CA+7conmB1mt25F+d1-TsseeK=eXRRD5JrGW42u=Mka8061A7Zg@mail.gmail.com> <5028B9D5.6050007@gmx.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <5028B9D5.6050007@gmx.de>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Mon, Aug 13, 2012 at 10:24:53AM +0200, Herbert Stocker wrote:
>Hi,
>
>Imho, EACCESS is indeed a bit misleading because it suggests permission
>problems. Better would be to have an EFAIL as a generic error. Actually i
>was missing an EFAIL several times when my programs needed to return
>an error code that did not match well with what i found in errno.h .
>
>On Sun, Aug 12, 2012 at 11:07:00AM +0200, Pawel Jasinski wrote:
>
>> If you can find a nice Linux errno which maps from ERROR_SXS_CANT_GEN_ACTCTX
>> to something other than EACCES I'd be happy to change Cygwin.
>
>I had a quick poke into sys/errno.h and there i found 5 error codes
>beginning with ELIB. One of those should suffice. My fafourite is this:
>
>    #define ELIBBAD 84.     /* Accessing a corrupted shared lib */
>
>Because side-by-side problems may mean that the supporting DLL is
>acutally there and can be read (also for execute), but the accompanying
>XML file describes it incorrectly (e.g. wrong version number), the DLL
>is not signed correctly, is not placed in the subdirectory whose name
>is mandated by Windows, etc.
>
>> Otherwise, no, I'm not going to worry about this issue.
>
>There is no need for the 'no', i'd suggest ELIBBAD.

"No need for the 'no'"?  Huh?  Huh?  I ASKED for a suggestion.  You
provided one.  You understand what the word "Otherwise" means right?

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

