From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2096 Path: news.gmane.org!not-for-mail From: Laurent Bercot Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: [skalibs] long_fmt fails with FMT_LEN (was: Why no negative numbers in the *_fmt routines?) Date: Tue, 7 Jun 2011 15:52:41 +0200 Message-ID: <20110607135241.GA19313@skarnet.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1307454609 20222 80.91.229.12 (7 Jun 2011 13:50:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Jun 2011 13:50:09 +0000 (UTC) Cc: supervision@list.skarnet.org To: Lloyd Zusman Original-X-From: supervision-return-2330-gcsg-supervision=m.gmane.org@list.skarnet.org Tue Jun 07 15:50:05 2011 Return-path: Envelope-to: gcsg-supervision@lo.gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by lo.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1QTwfV-0001il-GM for gcsg-supervision@lo.gmane.org; Tue, 07 Jun 2011 15:50:05 +0200 Original-Received: (qmail 20778 invoked by uid 76); 7 Jun 2011 13:52:41 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 20769 invoked by uid 1000); 7 Jun 2011 13:52:41 -0000 Mail-Followup-To: skaware@list.skarnet.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2096 Archived-At: Hi Lloyd, The skaware@list.skarnet.org list is the place to talk about skalibs... it doesn't have much to do with supervision ;) Mail-Followup-To set. > Actually, this problem is due to a bug in long_fmt. It doesn't properly > handle the FMT_LEN argument when the value to be formatted is negative. Ah, the null buffer trick. Sorry, I hardly ever use either negative numbers or null buffers, so I'm not surprised that case isn't handled. ^^' Thanks for the patch, applied. skalibs-1.0.0, with lot of fixes and new goodies, is going to be released Real Soon Now (with incomplete documentation, but at this pace, completing the doc would mean blasting the release date into the next century, so complete doc will have to wait). RSN means in less than a month (really, I swear, on my life, etc.), so I'd advise you to wait for it if you can. If you don't trust me when it comes to release dates (and I haven't exactly been trustworthy about that), I can send you a pre tarball. It works, and it's definitely better than the old 0.47 stuff you're stuck with for now. -- Laurent