X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f Date: Tue, 7 Jun 2011 20:37:44 -0400 Message-Id: <201106080037.p580biG2028623@envy.delorie.com> From: DJ Delorie To: djgpp-workers AT delorie DOT com Subject: [dlw AT patriot DOT net: Possible bug in _dos_getfileattr] Reply-To: djgpp-workers AT delorie DOT com ------- 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. 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. Thanks, David L. Winfrey dlw AT patriot DOT net www.patriot.net/users/dlw www.wsumc.net ------- End of forwarded message -------