From owner-freebsd-ports@FreeBSD.ORG Wed Apr 16 15:54:59 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2B6F1065678 for ; Wed, 16 Apr 2008 15:54:59 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 649468FC3B for ; Wed, 16 Apr 2008 15:54:59 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from [213.142.183.219] (helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1Jm9yM-0004YB-7T; Wed, 16 Apr 2008 17:54:58 +0200 Message-ID: <4806214F.2040701@FreeBSD.org> Date: Wed, 16 Apr 2008 17:54:55 +0200 From: Pietro Cerutti Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.12 (X11/20080311) MIME-Version: 1.0 To: Ganael LAPLANCHE References: <48053F56.4090404@FreeBSD.org> <20080416064154.M28876@martymac.com> <4805BB13.1050007@FreeBSD.org> <20080416094711.M99470@martymac.com> <20080416134523.M15457@martymac.com> <48061303.6040001@FreeBSD.org> <20080416154258.M26638@martymac.com> In-Reply-To: <20080416154258.M26638@martymac.com> X-Enigmail-Version: 0.95.6 OpenPGP: id=9571F78E; url=http://gahr.ch/pgp/ Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org X-Source: X-Source-Args: X-Source-Dir: Cc: ports@freebsd.org, Anatoly Borodin Subject: Re: CFT: devel/directfb update to 1.1.1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2008 15:54:59 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Ganael LAPLANCHE wrote: | On Wed, 16 Apr 2008 16:53:55 +0200, Pietro Cerutti wrote | | Hi again :) | |> Actually, there is a bug in those two functions. What about this one? | |> - - while (readdir_r( dir, &tmp, &entry ) == 0 && entry) { |> + while (!readdir_r( dir, &tmp, &entry ) && entry) { | | Hmmm, isn't that similar ? Anyway, it does not seem to work better :/ Indeed, it's identical. It was an error from my part, please forget it. :-/ | | Ganaël LAPLANCHE | ganael.laplanche@martymac.com | http://www.martymac.com | - -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEAREKAAYFAkgGIU4ACgkQwMJqmJVx947dZwCgxwhjto5+J1XJRNB0EFej+HQv PzUAoMNPADQMBWsEnSoR/IjSN5YlA5bt =fZaK -----END PGP SIGNATURE-----