Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Date: Thu, 2 Aug 2001 03:00:51 -0400 Message-Id: <200108020700.DAA06930@envy.delorie.com> X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f From: DJ Delorie To: cwilson AT ece DOT gatech DOT edu CC: binutils AT sources DOT redhat DOT com, cygwin-apps AT cygwin DOT com In-reply-to: <3B68F80C.7030207@ece.gatech.edu> (message from Charles Wilson on Thu, 02 Aug 2001 02:49:48 -0400) Subject: Re: [RFA] pei386 dll: auto-import patch References: <3B670087 DOT 7090102 AT ece DOT gatech DOT edu> <200108011735 DOT NAA32231 AT envy DOT delorie DOT com> <3B6846D2 DOT 9040206 AT ece DOT gatech DOT edu> <200108011847 DOT OAA32757 AT envy DOT delorie DOT com> <3B68C879 DOT 1070809 AT ece DOT gatech DOT edu> <200108020347 DOT XAA05289 AT envy DOT delorie DOT com> <3B68ED4B DOT 4080405 AT ece DOT gatech DOT edu> <200108020610 DOT CAA06564 AT envy DOT delorie DOT com> <3B68F80C DOT 7030207 AT ece DOT gatech DOT edu> > > Sorry, can't use snprintf. > > Why not? Not all systems have it. Think "cross compilers". > Like this? ('course, you have to #include for the ceil > function. Perhaps multiples of 128 or 256 would be better...bit > shifting and masking is easy -- but not really portable...) Hmmm... You can avoid float math if you use a power of two: size = (size + 127) & ~127; > FWIW, all of my changes so far (including this one) compile at least. > :-) I'll test actual operation tomorrow. (The version I > reported at 11:26EDT 1Aug01, and for which I put binaries on my website > at 1:07EDT 2Aug01, has been minimally tested in operation. It's just > these most recent nit-picky changes that haven't been tested beyond "it > builds"...) Understood.