Subject: Re: bin/37414: fdisk suggests input formats it doesn't accept
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, rillig@NetBSD.org>
From: Roland Illig <rillig@NetBSD.org>
List: netbsd-bugs
Date: 12/02/2007 20:05:04
The following reply was made to PR bin/37414; it has been noted by GNATS.
From: Roland Illig <rillig@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: bin/37414: fdisk suggests input formats it doesn't accept
Date: Sun, 02 Dec 2007 21:03:29 +0100
dieter roelants wrote:
> Roland Illig <rillig@NetBSD.org> wrote:
>
> > Looks good to me, although people that are used to the old format (400M)
> > cannot use that anymore.
>
> Yes they can, unless I've made a mistake. The len variable used by
> strncasecmp here is the length of cp until the next whitespace, so in
> the case of 400M, only one byte is checked.
Bah, lots of tricks. But it sounds well. :)
Roland