www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2011/06/07/20:38:01

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 <dj AT delorie DOT com>
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 <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.

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 -------

- Raw text -


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