From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RUpdf-0006le-Ii for mharc-grub-devel@gnu.org; Sun, 27 Nov 2011 20:04:07 -0500 Received: from eggs.gnu.org ([140.186.70.92]:56567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUpdd-0006lU-03 for grub-devel@gnu.org; Sun, 27 Nov 2011 20:04:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RUpdb-00033k-ET for grub-devel@gnu.org; Sun, 27 Nov 2011 20:04:04 -0500 Received: from mail-bw0-f41.google.com ([209.85.214.41]:46243) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUpdb-00033P-1H for grub-devel@gnu.org; Sun, 27 Nov 2011 20:04:03 -0500 Received: by bke17 with SMTP id 17so8684654bke.0 for ; Sun, 27 Nov 2011 17:04:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=BC3vaj31Se039yul0VobfZI4a3pLbj2koFaHoqWbxGA=; b=d5niHLKGuE+ZgSvsC8OHMcBEihp+ptS5N+JIakusbkefZtwqV6pTSae8//7nZTLWAP yC3HFX7RBoDzh136582ciGpCOfy5E7c6fHZnbUJsBSKzCdrheJ7J8MmvuExQy25DvJ0a qV+rW9EWhPfpeB+osBf5sHlzDOhOuS+1PDBcQ= Received: by 10.204.151.144 with SMTP id c16mr9521872bkw.45.1322442241596; Sun, 27 Nov 2011 17:04:01 -0800 (PST) Received: from debian.x201.phnet (216.98.63.81.cust.bluewin.ch. [81.63.98.216]) by mx.google.com with ESMTPS id fa8sm17927353bkc.14.2011.11.27.17.03.59 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 27 Nov 2011 17:04:00 -0800 (PST) Message-ID: <4ED2DDFC.6000301@gmail.com> Date: Mon, 28 Nov 2011 02:03:56 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: New command to check NT's hibernation state References: <4ED2CC99.9030703@gmail.com> In-Reply-To: <4ED2CC99.9030703@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.41 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 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: Mon, 28 Nov 2011 01:04:06 -0000 On 28.11.2011 00:49, Peter Lustig wrote: > Hello all, > Hello > I would like to contribute a small module I wrote to read the header > of MS Window's "hiberfil.sys" and determine whether it is in use (i.e. > Windows has been suspended to disk). What is the procedure for > donating code? Would I need commit rights to the repository, or would > someone else do it for me? The source for the module is attached. > Thanks for this. However the coding style isn't according to our standards. Could you adjust to the standard? I recommend looking at other code and reading GNU Coding Standard. E.g. we don't use {0} initialiser, return value of commands, C++ comments or M$-$tyle variables. > Thanks, > Peter Lustig > > P.S. I have tested the code and verified it works for Windows 7. > Also, from what I understand about "hiberfil.sys" from the SandMan > project (cf. ), > it should work for Windows Vista and XP as well. > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel -- Regards Vladimir 'φ-coder/phcoder' Serbinenko