www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2011/06/08/03:15:01

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type;
bh=mZOUZhs4l0OBLTL+KtUInZ6UaIGs0ezKiqU3EWznUDg=;
b=sN+6pqL+sxl2fAbQakVnm0pgSCRrGK45W2Yrq5jrhCYMe3EDEbca4SFk7p3FRA97ck
lRbbu/lsYYMJdLP7WZ62yuo2MY4akqsP3384SmMqA11td1QxAH/IEyebt+DhSTd4TO3Z
y0FBK5hi5y8zVoHBwYxqCSpYDhtSaX5bn9eD4=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
b=kMkWBlXB6ipT4qPlZNZ6HATsrEc+8EwBh7u7xPw2dAwxOaC75/yIpZe23pi09Asy/c
JSRvktbpJZhsG/0iSi6wJU/iby8OrxMJF8C56erkX6wGM/pZH+C8gK4FS8PDqORwLH8m
jlWtm39/ZAbk6UjkgsxATeEGb+oIVSHsHf8CI=
MIME-Version: 1.0
In-Reply-To: <201106080037.p580biG2028623@envy.delorie.com>
References: <201106080037 DOT p580biG2028623 AT envy DOT delorie DOT com>
Date: Wed, 8 Jun 2011 09:43:26 +0300
Message-ID: <BANLkTi=qzJgrjiRxLy_Zc6QMsrbN50a2VA@mail.gmail.com>
Subject: Re: [dlw AT patriot DOT net: Possible bug in _dos_getfileattr]
From: Ozkan Sezer <sezeroz AT gmail DOT com>
To: djgpp-workers AT delorie DOT com
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, Jun 8, 2011 at 3:37 AM, DJ Delorie <dj AT delorie DOT com> wrote:
>
> ------- Start of forwarded message -------
> Date: Tue, 7 Jun 2011 20:13:01 -0400 (EDT)
> From: David Winfrey <dlw AT patriot DOT net>
> To: dj AT delorie DOT com
> Subject: Possible bug in _dos_getfileattr
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
>
> I believe that _dos_getfileattr(),
> in src\libc\dos\compat\d_getfa.c in the gcc452b.zip file,
> needs to return r.x.cx instead of r.x.ax.
>


Well, the lfn-aware _chmod() returns r.x.cx, so the suggestion
seems valid


> It's consistently returning 0x4300, regardless of the
> actual file attributes; this is the r.x.ax input value
> for the DOS get_attributes call.


Indeed


>
> Thanks,
>
> David L. Winfrey
> dlw AT patriot DOT net
> www.patriot.net/users/dlw
> www.wsumc.net
> ------- End of forwarded message -------
>

--
O.S.

- Raw text -


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