From: Eli Zaretskii Newsgroups: comp.os.msdos.djgpp Subject: Re: gcc-2.95.2 + bnu-2.9.5 cross compiler? Date: Thu, 16 Mar 2000 17:31:29 +0200 Organization: NetVision Israel Lines: 20 Message-ID: References: <83em9dxl4v DOT fsf AT mercury DOT st DOT hmc DOT edu> NNTP-Posting-Host: is.elta.co.il Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: news.netvision.net.il 953220849 16373 199.203.121.2 (16 Mar 2000 15:34:09 GMT) X-Complaints-To: abuse AT netvision DOT net DOT il NNTP-Posting-Date: 16 Mar 2000 15:34:09 GMT X-Sender: eliz AT is In-Reply-To: To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 16 Mar 2000, Damian Yerrick wrote: > >But this problem is not something Zip should care about on the > >application level. Instead, it should let the library do the job. > >The DJGPP version of `stat' already knows how to identify executable > >files as such, > > OK. But what about the Win32 console version? You can guess how much do I care ;-). Seriously, though: Zip should first request that the various Win32 library developers make their `stat' right. If that's impossible in some cases (I'd expect Cygwin to comply), they could provide a substitute for the library version of `stat' which does what DJGPP does (the sources are there to use). But at the very least, they should NOT cripple the program if `stat' does its job. In other words, if the execute bit *is* returned, don't mask it.