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=YbTB5jL+s5O1Z/+2AyDoNjohGzGH8pmb58U7FzrQs6o=; b=Uyhel7Wh+n5nIUjKDc+FvnTKJRTQvj4LYdtrdFSuaKV2jQK3Fqjai3ZErJadtv/hp2 2DZRwk15UFhjgclZ8OjNys72bYmqQE6xKaXm7IShzBH2Gaq/bjL3ykVg/gdbdhv8eSoK d9XBHUwwCvpH0jApoHKbIeFAuqzFCaQNSRmyM= 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=P1thJXrIuibFW0hgiz5C+GKdRIDKOv4oJzmivsfG7Ytq1Vwyjpuh99XMS3ZOZ6Pfwj yGFDx53NLRGZs8+XXabEMTJQ2RlRsjgmvq/q6eOki9SWvGrkRlz+E0XqvEmL0rqhKeNh SHUZc1+CfunWs9QyvPpgFrmX1JF+qVijnNjto= MIME-Version: 1.0 In-Reply-To: References: <201106080037 DOT p580biG2028623 AT envy DOT delorie DOT com> Date: Tue, 28 Jun 2011 11:18:54 +0300 Message-ID: Subject: Re: [dlw AT patriot DOT net: Possible bug in _dos_getfileattr] From: Ozkan Sezer To: djgpp-workers AT delorie DOT com Content-Type: text/plain; charset=ISO-8859-1 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 Precedence: bulk On Wed, Jun 8, 2011 at 9:43 AM, Ozkan Sezer wrote: > On Wed, Jun 8, 2011 at 3:37 AM, DJ Delorie wrote: >> >> ------- Start of forwarded message ------- >> Date: Tue, 7 Jun 2011 20:13:01 -0400 (EDT) >> From: David Winfrey >> 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. > What is the status of this bug report? -- O.S.