Go to the FreeLists Home Page Home Signup Help Login
 



[arachne] || [Date Prev] [06-2004 Date Index] [Date Next] || [Thread Prev] [06-2004 Thread Index] [Thread Next]

[arachne] Re: Something new to play with

  • From: "Glenn McCorkle" <glennmcc@xxxxxxxxxx>
  • To: arachne@xxxxxxxxxxxxx
  • Date: Sun, 27 Jun 2004 16:34:42 -0400
Arachne at FreeLists---The Arachne Fan Club!

On Sun, 27 Jun 2004 18:02:13 +0200, Michal H. Tyc wrote:

> On Sun, 27 Jun 2004 13:57:22 +2, Bastiaan Edelman, PA3FFZ wrote:

>> Although I never encountered that many attachments in an email I was
>> wondering if the little bug manifests also if the jpg's are decoded to
>> gif (in mime.cfg).
>> Decoding to gif does not render large bmp's and horizontal scrolling is
>> possible.

>> Why not give it a try?

> Because it won't help. This is a bug in Insight. The JPEGs (or other
> attachments) are not written into cache at all, so they won't be
> displayed regardless of JPEG conversion settings.


Hi Michal,

Thanks to your bug-fix........ This problem no longer exists. :))

Anyone who would like a copy of Insight v3.85.5 may get it here......
http://www.cisnet.com/glennmcc/
(take the link to ar175gpl)


--- clipped from http://www.cisnet.com/glennmcc/ar177gpl/changes.txt ---

Changes since release 1.75;GPL
--------------------------

1.77;GPL stable for DOS
----
Release date: ??? ??, 2004

<snip>

Jun 26, 2004
Insight.exe v3.85.5 compiled to include this fix.....

|Subject: Something new to play with                                     |
|                                                                        |
|From: "L.D. Best" <l.d.best@xxxxxxxxxxxxxxx>                            |
|To: arachne@xxxxxxxxxxxxx                                               |
|Date: Sat, 26 Jun 2004 14:38:20 -0400                                   |
|                                                                        |
|Arachne at FreeLists---The Arachne Fan Club!                            |
|                                                                        |
|Guys,                                                                   |
|                                                                        |
|I have one correspondent who is strictly 'doze and not nerdy enough to  |
|realize just how much space/time "pictorial journals" use.              |
|                                                                        |
|Now, I have no problem with the "time" since I'm 'high speed connect'   |
|... but the SPACE seems to knock Arachne out of the water and I don't   |
|know why.                                                               |
|                                                                        |
|The first 12 jpgs get changed over to bmp and placed in cache for me to |
|see, no problem.  Seeing the rest of them is impossible with Arachne    |
|(unless I can find an editor that will handle that size file, and remove|
|the code for the ones I've seen ... which ain't gonna happen on this    |
|machine!).                                                              |
|                                                                        |
|There's plenty of space on the Cache drive ... 20MB or so, and the 1st  |
|12 bmps only took up 6Mb.                                               |
|                                                                        |
|There's plenty of space on the Arachne drive (217MB or so) if that's    |
|needed for decoding/recreating.                                         |
|                                                                        |
|But I don't get to see the rest of the attachments.                     |
|                                                                        |
|Why not??                                                               |
|                                                                        |
|l.d.                                                                    |
|                                                                        |


|Subject: Re: Something new to play with                           |
|                                                                  |
|From: "Michal H. Tyc" <mht@xxxxxxxxxxxxxxxx>                      |
|To: arachne@xxxxxxxxxxxxx                                         |
|Date: Sat, 26 Jun 2004 23:27:05 +0200                             |
|                                                                  |
|Arachne at FreeLists---The Arachne Fan Club!                      |
|                                                                  |
|Many, many thanks, L.D., for spotting the problem!                |
|                                                                  |
|It was caused by a trivial bug in Insight, now found and fixed.   |
|                                                                  |
|In function decodebase64(), source file BASE64.C, the original    |
|author forgot to close the output file. As a result, when too many|
|attachments were decoded, the program ran out of file handles and |
|could not write more decoded files. I added "fclose(fo);" near the|
|end of the function and now it works perfectly.                   |
|                                                                  |
|Michal                                                            |
|                                                                  |

And as Michal says........ this was all it took to fix it. :))

---- in base64.c ----

   flushdecoder(fo);

   fclose(fi);

//!!glennmcc: begin June 26, 2004
//credit to L.D. Best and Michal H. Tyc  
//added to fix the problem of only 12
//base64 encoded attachments being decoded   
   fclose(fo);
//!!glennmcc: end
______________________

________________________________________________________________________


-- 
 Glenn
 http://www.delorie.com/listserv/mime/
 http://www.cisnet.com/glennmcc/
 http://www.cisnet.com/glennmcc/aqc/
 http://www.law.cornell.edu/constitution/constitution.table.html

Arachne at FreeLists
-- Arachne, The Web Browser/Suite for DOS and Linux --





[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.