ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2012/07/31/08:15:06

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: rugxulo AT gmail DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Ispell (found the problem! here's a rough patch)
Date: Tue, 31 Jul 2012 04:55:06 -0700 (PDT)
Organization: http://groups.google.com
Lines: 57
Message-ID: <dd4a89be-da91-49e7-8c6b-f8b2cbc16bc5@googlegroups.com>
References: <MPG DOT 2a61256b7098af43989680 AT news60 DOT forteinc DOT com>
<83sjd412pe DOT fsf AT gnu DOT org> <b7563c8c-4248-499f-a8fe-bcffa12eb5e9 AT googlegroups DOT com>
<83obnql106 DOT fsf AT gnu DOT org> <44cbf133-ea8b-47d6-9f01-0c7cef19c13a AT googlegroups DOT com>
<8fd215eb-bc43-4739-b68b-50d0b27fb7b4 AT r33g2000yqd DOT googlegroups DOT com>
NNTP-Posting-Host: 65.13.115.246
Mime-Version: 1.0
X-Trace: posting.google.com 1343735706 30801 127.0.0.1 (31 Jul 2012 11:55:06 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Tue, 31 Jul 2012 11:55:06 +0000 (UTC)
In-Reply-To: <8fd215eb-bc43-4739-b68b-50d0b27fb7b4@r33g2000yqd.googlegroups.com>
Complaints-To: groups-abuse AT google DOT com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=65.13.115.246;
posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
User-Agent: G2/1.0
Bytes: 3645
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q6VCF10w016865
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Hi,

On Saturday, July 28, 2012 10:35:02 AM UTC-5, USA Choice User wrote:
> On Jul 12, 7:58 pm, rugx DOT  DOT  DOT  AT gmail DOT com wrote:
> 
> > ========================================
> > --- callproc.c  2011-01-08 19:45:14 +0000
> > +++ callproc.new        2012-07-07 19:37:48 +0000
> > @@ -929,6 +929,10 @@
> >     int fd;
> >
> >     BLOCK_INPUT;
> > +
> > +   char* rugxulo = strstr(tempfile,".xxx");
> > +   if (rugxulo) strncpy(rugxulo,".XXX",4);
> > +
> >     fd = mkstemp (tempfile);
> >     UNBLOCK_INPUT;
> >     if (fd == -1)
> > ========================================
> 
> Sorry I took so long to reply.  I finally got Emacs
> 23.3 so it will compile using DJGPP on Windows 98SE,
> with LFN set to "Y".  Following your version suggestion,
> I only had to make one change--I substituted GCC 4.4.4
> for GCC 4.7.0.  I also substituted GPP 4.4.4 for GPP
> 4.7.0 for consistency.

Normally I hate the idea of using billions of different versions of the same tool, but in this case it's almost unavoidable.

> However, I can't figure out how or where to splice
> in your patch, in callproc.c.  I did find the file
> in the source folder, but to me at least it's not
> obvious how to fix it (I'm not a C programmer yet,
> but I can figure things out and follow directions).
> 
> If you could walk me through the process I'd
> appreciate it.  Thanks.

It's just a diff file from DIFF.EXE that can be manually typed in (see section beginning at line 929 of callproc.c) or just use PATCH.EXE, e.g. "patch -i rugxulo.dif", then it should build.

Really, I hate the idea that end users have to recompile anything, esp. if that's not their thing, hence the binary patch (technically easier to apply but inferior overall). But I admit I didn't really make that automated either. Oh well.

DJGPP doesn't come with diff.exe or patch.exe by default, so you'll have to grab them separately.

http://na.mirror.garr.it/mirrors/djgpp/beta/v2gnu/dif32br3.zip

http://na.mirror.garr.it/mirrors/djgpp/beta/v2gnu/pat261b.zip

- Raw text -


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