www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/16/13:13:51

From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
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: <Pine.SUN.3.91.1000316172753.5735I-100000@is>
References: <83em9dxl4v DOT fsf AT mercury DOT st DOT hmc DOT edu> <Pine DOT SUN DOT 3 DOT 91 DOT 1000315174433 DOT 20407G-100000 AT is> <ekn0ds4l1c2bng13dkqtm3vg2na9ctmm6f AT 4ax DOT com> <Pine DOT SUN DOT 3 DOT 91 DOT 1000316115031 DOT 3117F-100000 AT is> <tgk1dsgonrbgsppgdfkhul5eimu3u4j7s0 AT 4ax DOT com>
NNTP-Posting-Host: is.elta.co.il
Mime-Version: 1.0
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: <tgk1dsgonrbgsppgdfkhul5eimu3u4j7s0@4ax.com>
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

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.

- Raw text -


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