From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] mkdevicemap for Cygwin
Date: Sun, 18 Nov 2007 07:24:24 +0100 [thread overview]
Message-ID: <20071118062424.GC20719@thorin> (raw)
In-Reply-To: <473A0C32.5000001@t-online.de>
On Tue, Nov 13, 2007 at 09:42:26PM +0100, Christian Franke wrote:
> +#elif defined(__CYGWIN__)
> + /* Cygwin */
> + sprintf (name, "/dev/fd%d", unit);
Cygwin has /dev now? :-)
> +#ifndef __CYGWIN__
> static void
> get_ide_disk_name (char *name, int unit)
> {
> @@ -213,6 +217,7 @@ get_ide_disk_name (char *name, int unit)
> *name = 0;
> #endif
> }
> +#endif /* __CYGWIN__ */
> [...]
> +#ifndef __CYGWIN__
> /* IDE disks. */
> for (i = 0; i < 8; i++)
> {
> @@ -431,6 +440,7 @@ make_device_map (const char *device_map,
> num_hd++;
> }
> }
> +#endif /* __CYGWIN__ */
Is the generic case (`*name = 0', then print that) good enough?
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
next prev parent reply other threads:[~2007-11-18 6:24 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-13 20:42 [PATCH] mkdevicemap for Cygwin Christian Franke
2007-11-18 6:24 ` Robert Millan [this message]
2007-11-18 18:40 ` Christian Franke
2007-11-18 11:30 ` Marco Gerards
2007-11-18 18:46 ` Christian Franke
2007-12-06 12:15 ` Robert Millan
2007-12-06 13:08 ` Christian Franke
2007-12-28 15:43 ` Christian Franke
2008-01-23 11:40 ` Marco Gerards
2008-01-23 11:45 ` Robert Millan
2008-01-23 12:22 ` Marco Gerards
2008-01-23 20:40 ` Christian Franke
2008-04-24 20:06 ` Marco Gerards
2008-05-05 21:26 ` Christian Franke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071118062424.GC20719@thorin \
--to=rmh@aybabtu.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.