Date: Sat, 07 Jul 2001 21:15:33 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Mark E." Message-Id: <4331-Sat07Jul2001211533+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com In-reply-to: <3B46FC1B.14992.4A1DB3@localhost> (snowball3@bigfoot.com) Subject: Re: dosexec.c changes References: <3B45C9F9 DOT 1814 DOT A88009 AT localhost> (snowball3 AT bigfoot DOT com) <3B46FC1B DOT 14992 DOT 4A1DB3 AT localhost> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Mark E." > Date: Sat, 7 Jul 2001 12:10:03 -0400 > > > Shouldn't we add another test like this after an extension is > > appended? > > I have no idea. If you think it's needed, I'll add it. On second thought, I think you could simply skip each extension which makes the file name longer than FILENAME_MAX: any library function which passes such a name to DOS will either fail or blow up.