From owner-freebsd-questions@FreeBSD.ORG Thu Jun 23 01:43:51 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 121FD16A41C for ; Thu, 23 Jun 2005 01:43:51 +0000 (GMT) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 205B843D1D for ; Thu, 23 Jun 2005 01:43:49 +0000 (GMT) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.12.11/8.12.11) with ESMTP id j5N1hkrT063478 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 23 Jun 2005 08:43:46 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.13.1/8.12.11) id j5N1hkWI097845; Thu, 23 Jun 2005 08:43:46 +0700 (ICT) Date: Thu, 23 Jun 2005 08:43:46 +0700 (ICT) Message-Id: <200506230143.j5N1hkWI097845@banyan.cs.ait.ac.th> From: Olivier Nicole To: questions@freebsd.org In-reply-to: <42B91313.9050807@bhi-hamburg.de> (message from Titus von Boxberg on Wed, 22 Jun 2005 09:28:19 +0200) References: <200506220411.j5M4BQ6G087888@banyan.cs.ait.ac.th> <42B91313.9050807@bhi-hamburg.de> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: Subject: Re: Using regex(3) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2005 01:43:51 -0000 Thanks Titus, > no, you're misunderstanding regoff_t or printf. I definitely misunderstand printf. Until now I thought that each place holder (%d) was associated with one variable and if the type missmatched, the display could be incorrect. But in that case, printf seems to take 2 successive %d and split the variable upon them to make it a %lld. I am no C guru, but that sound very bad to me. Bests, Olivier