Mail Archives: djgpp/2000/03/16/06:36:11

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 11:50:49 +0200
Organization: NetVision Israel
Lines: 15
Message-ID: <Pine.SUN.3.91.1000316115031.3117F-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>
Mime-Version: 1.0
X-Trace: 953200412 9995 (16 Mar 2000 09:53:32 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 16 Mar 2000 09:53:32 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

On Thu, 16 Mar 2000, Damian Yerrick wrote:

> So tell the Info-ZIP maintainers to set the execute bit of *.EXE,
> *.COM, *.BAT, and *.SH

Not good enough: a shell script doesn't need to have a .sh extension.

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, and that includes shell scripts, with or without the
.sh extension.  All Zip should do is record the mode bits returned by
`stat' in the archive, like it does on Unix, without masking off the
execute bit.

- Raw text -

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