From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5973ae927aa65b7c9eb24ad4fea05b15@proxima.alt.za> To: 9fans@cse.psu.edu Subject: RE: [9fans] PNG and APE Date: Tue, 25 Apr 2006 07:09:46 +0200 From: lucio@proxima.alt.za In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 45c305a4-ead1-11e9-9d60-3106f5b1d025 > Thanks, good work!! However, we should try to do native ports for > libraries, > to encourage people to write native progs. Thank you for the encouragement. That's the plan, but it's a tough call because tracking these libraries is a nightmare. Actually not really so with zlib, libpng and even libjpeg (my next effort), but once you move a little higher up to the applications, it's quite a problem. Anybody who wants to contribute, here are the most difficult issues: replacing stdio with Bio and error handling (setjump.longjump, is it?). I don't mind coding this, but I need some code inspection once I'm done. You'll see in npng that I've defined empty functions for error handling and I use sysfatal()-style handling for errors that oughtn't to bring the program to a standstill. In addition, advice on the "t", "v" and "3" options would not go amiss. I think I have "k" right, but I use "v" where I think "t" ought to be and "v" and "3" need just the type of hint that Russ is so good at. Lastly, can someone tell me for definite that "e" isn't required? ++L