From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NXjOU-0004ji-2v for mharc-grub-devel@gnu.org; Wed, 20 Jan 2010 17:51:22 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NXjOS-0004i4-Rb for grub-devel@gnu.org; Wed, 20 Jan 2010 17:51:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NXjOO-0004Zq-99 for grub-devel@gnu.org; Wed, 20 Jan 2010 17:51:20 -0500 Received: from [199.232.76.173] (port=50954 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NXjON-0004ZW-VV for grub-devel@gnu.org; Wed, 20 Jan 2010 17:51:16 -0500 Received: from mail-fx0-f221.google.com ([209.85.220.221]:39473) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NXjON-0004WH-B4 for grub-devel@gnu.org; Wed, 20 Jan 2010 17:51:15 -0500 Received: by fxm21 with SMTP id 21so776075fxm.33 for ; Wed, 20 Jan 2010 14:51:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=csqVf5F0R/M2bQETrEyqYqXi89l02S5fvfpkm8up+l0=; b=jxXYc+o+MdzNFvPcQWymFFwaFp01IKE0pegS9ICvF5i8pQeMtYzrDUxgbd8z/ecx8e WrHLVv7mSvgh6Z+karXraybhDBCaQ3LQyQK4VBFDSkS1udImLPU0koRH8n6vy5LLz/vC DrHKMI7fiAYyY4ItGKfcOa+unFjkTCEzD0g9k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=nz+QRAjlefnckY2A1ByX0Y9rTT7eU4wMIRey4JzSTGozBwbVFjfa7+SqOYQPriqC6y tqENgMPx2xYTdfDr90QlFOQzndbYNvqcckzMJQ7uXaH0C1G+37IhiNdeq1mBpKnFBqDI HX2/Tydh5ORPnrRB7QMPR6qyrH73EnmXPHPq0= Received: by 10.87.58.27 with SMTP id l27mr1197569fgk.4.1264027872507; Wed, 20 Jan 2010 14:51:12 -0800 (PST) Received: from debian.bg45.phnet (58-38.203-62.cust.bluewin.ch [62.203.38.58]) by mx.google.com with ESMTPS id d8sm860559fga.3.2010.01.20.14.51.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 20 Jan 2010 14:51:11 -0800 (PST) Message-ID: <4B5788D9.3060401@gmail.com> Date: Wed, 20 Jan 2010 23:51:05 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: The development of GNU GRUB References: <20100120223704.GA25465@thorin> In-Reply-To: <20100120223704.GA25465@thorin> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig65BB2C95893B662F2506BE97" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [PATCH] gfxmenu relative path in "file" component of images X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 22:51:21 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig65BB2C95893B662F2506BE97 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Robert Millan wrote: > This makes it possible to use relative paths in the "file" component of= > gfxmenu images. I've tested that it works, but I'd appreciate if someo= ne > more familiar with gfxmenu can review it. > =20 + static const char *theme_dir =3D NULL; Add a member to grub_gui_image_t rather than using a static variable + theme_dir =3D value; Use appropriate grub_strdup and free in _destroy function. + return load_image (self, absvalue); absvalue isn't freeed > =20 > -----------------------------------------------------------------------= - > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig65BB2C95893B662F2506BE97 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iF4EAREKAAYFAktXiN8ACgkQNak7dOguQgmWDwEAxDaVx9Qk+X1hiv1OKXsrq836 ImJWl9xdSXvxUABAaAoA/R8WxYV3mNLUhiRD7YIiQO/eEIq0kWaIALBN/kpPiyod =xKdf -----END PGP SIGNATURE----- --------------enig65BB2C95893B662F2506BE97--