Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 22558 invoked from network); 22 Feb 2007 09:40:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Feb 2007 09:40:44 -0000 Received: (qmail 91731 invoked by uid 500); 22 Feb 2007 09:40:45 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 91685 invoked by uid 500); 22 Feb 2007 09:40:45 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 91674 invoked by uid 99); 22 Feb 2007 09:40:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Feb 2007 01:40:45 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jfclere@gmail.com designates 66.249.82.235 as permitted sender) Received: from [66.249.82.235] (HELO wx-out-0506.google.com) (66.249.82.235) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Feb 2007 01:40:33 -0800 Received: by wx-out-0506.google.com with SMTP id i26so110330wxd for ; Thu, 22 Feb 2007 01:40:12 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=RFxAgpqX9qzjABH2GScjafOhx6xmWOB3sqhlWRo08Trujx+v059a+tR30iRMQTj2x7ijrb45EFAyP0Q2qtrwusUJPPo+99ZDc4rFK25Qh25X3x/KO2qHn+bGVjcsw4W3kGZr/S7AftShfWqI48aX8rEKFEjrKtHkRfaHgVZ6Ryg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:from:to:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=gtaDSkkZlOfHEYiXegFSPZoTUNV0qMvUlGNHn2ca6GR5cU1Jt2tK5PEYI94LVEXG/0leF8HCNTT3ctB2AlOMFRZtxqxTJoKASE2hV56U3F2eFOcW66O4p5TqIxQD96DZAE49Dsaa/a13Zz3eHajlUfMJnxVov+faD2xe8h7UoIM= Received: by 10.70.32.2 with SMTP id f2mr818263wxf.1172137212660; Thu, 22 Feb 2007 01:40:12 -0800 (PST) Received: from ?192.168.4.43? ( [212.249.12.130]) by mx.google.com with ESMTP id 7sm639365wrl.2007.02.22.01.40.11; Thu, 22 Feb 2007 01:40:12 -0800 (PST) Subject: snprintf/vsnprintf in mod_jk From: Jean-Frederic To: dev@tomcat.apache.org Content-Type: text/plain Date: Thu, 22 Feb 2007 10:42:12 +0100 Message-Id: <1172137333.3118.33.camel@jfcpc> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 (2.8.3-1.fc6) Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, We have those routines twice (in jk_util.c and jk_status.c). We are also assuming that the platforms always have snprintf() in jk_lb_worker.c for example. In jk_global.h there is: +++ /* XXXX There is a snprintf() and vsnprintf() in jk_util.c */ /* if those work remove the #define. */ #if defined(NETWARE) || defined(AS400) #define USE_SPRINTF #define USE_VSPRINTF #endif +++ Could someone check that the snprintf() and snprintf() of jk_util.c are working on NETWARE and AS400? Cheers Jean-Frederic --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org