From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1O39qx-0006NQ-MB for mharc-grub-devel@gnu.org; Sat, 17 Apr 2010 11:22:39 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O39qv-0006NC-Lc for grub-devel@gnu.org; Sat, 17 Apr 2010 11:22:37 -0400 Received: from [140.186.70.92] (port=45342 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O39qs-0006N4-OL for grub-devel@gnu.org; Sat, 17 Apr 2010 11:22:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O39qq-0004eh-0a for grub-devel@gnu.org; Sat, 17 Apr 2010 11:22:34 -0400 Received: from mail-bw0-f225.google.com ([209.85.218.225]:46822) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O39qp-0004eT-Pw for grub-devel@gnu.org; Sat, 17 Apr 2010 11:22:31 -0400 Received: by bwz25 with SMTP id 25so3479260bwz.8 for ; Sat, 17 Apr 2010 08:22:31 -0700 (PDT) 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=Cj42ZaALS9sXTE5c3moMeCqXnVdYHokxqVqOJqMFeyA=; b=WRhjaeWrdJhrqtLaAMjMtkIgIi0MWW/+HFp1YTIcRUoTPoKC3XIAFCyQDl04e8qpk5 cvYk/nDeNEfq7o0rMNDh/85BzEGAar14MOcfZo4CwDfU2JgFq5/m8ZIOCophAesmK325 D7YmgWWwFGxYi4nqC0rTEjxtUq8PRBmmc/EiQ= 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=oJGHIiKRRh+9vLcwt+Cype5O0mlClM8pZkwM+flaZQqDmWmnzh4Bymq+3bkpXvHbsZ B3BxhRqkhes71uT/IlM8O0R8nnyZXXv37G4vtQVQBr3JYoHL6XDwfv1xtYpsE2E6Z84P kbK/EbVr3PMK2T6XhFjqkde96v9SDg6Dn0XQ0= Received: by 10.204.133.129 with SMTP id f1mr2945434bkt.45.1271517750954; Sat, 17 Apr 2010 08:22:30 -0700 (PDT) Received: from debian.bg45.phnet (52.115.63.81.cust.bluewin.ch [81.63.115.52]) by mx.google.com with ESMTPS id 15sm2347935bwz.12.2010.04.17.08.22.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 17 Apr 2010 08:22:29 -0700 (PDT) Message-ID: <4BC9D233.9090307@gmail.com> Date: Sat, 17 Apr 2010 17:22:27 +0200 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: <4BC60B1D.8080609@t-online.de> In-Reply-To: <4BC60B1D.8080609@t-online.de> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig0CCF7982CB4CCCBB0E8CD722" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [PATCH] Fix Cygwin path handling 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: Sat, 17 Apr 2010 15:22:38 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0CCF7982CB4CCCBB0E8CD722 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Christian Franke wrote: > The Cywin path handling is broken since > make_system_path_relative_to_its_root() functionality was moved from > the lib script to misc.c. > > This patch should fix this. It reuses the Cygwin specific code from > getroot.c:grub_get_prefix() which apparently is a different > implementation of the same function. > > I would suggest to remove grub_get_prefix(), it is now only used in > grub-emu.c and sparc64/ieee1275/grub-setup.c. Not included in the > patch, should be done in a separate commit. > > > 2010-04-14 Christian Franke > > * util/grub-mkconfig_lib.in (make_system_path_relative_to_its_root)= : > Remove broken Cygwin path conversion. > * util/misc.c: [__CYGWIN__] Add include and define. > [__CYGWIN__] (get_win32_path): Copy function from getroot.c, modify= > for Cygwin 1.7. Please avoid duplicating code. Rather than that rename get_win32_path to grub_get_win32_path and remove static attribute > (make_system_path_relative_to_its_root): Simplify loop, replace ear= ly > return by break. > [__CYGWIN__] Add conversion to win32 path. > > > > -----------------------------------------------------------------------= - > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig0CCF7982CB4CCCBB0E8CD722 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 iF4EAREKAAYFAkvJ0jMACgkQNak7dOguQgkTwgEAuO1+zIxAXtXcFTkZYLo3ZTKI BzLrDBm6ohaC5Uh+2hIA/3Ttr0XFuO1Ty8mvSDsML5jM7uCNV1pkPoJpxlEOmhpq =48Pd -----END PGP SIGNATURE----- --------------enig0CCF7982CB4CCCBB0E8CD722--