www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/01/00:40:53

Date: Mon, 1 Apr 1996 07:27:20 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Olly Betts <olly AT mantis DOT co DOT uk>
Cc: djgpp AT delorie DOT com, DJ Delorie <dj AT delorie DOT com>
Subject: Re: Bug in `_is_executable', with a patch
In-Reply-To: <19960331160925.olly@mantis.co.uk>
Message-Id: <Pine.SUN.3.91.960401072520.11946D@is>
Mime-Version: 1.0

On 31 Mar 1996, Olly Betts wrote:

> >!       char tmp_buf[5], *tp = tmp_buf;
> 
> I think tmp_buf needs to be (at least) 6 in size.  One for the '|', up to 3
> for the extension, another '|', and the terminating '\0' makes 6.

That's the stupidest typo I did, ever.  Thanks for seeing it.

- Raw text -


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