From: "Grégoire Sutre" <gregoire.sutre@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: [PATCH] Add gnulib's stpcpy.
Date: Sun, 05 Aug 2012 16:43:52 +0200 [thread overview]
Message-ID: <501E86A8.6090105@gmail.com> (raw)
In-Reply-To: <501E44B4.1090900@gmail.com>
On 08/05/2012 12:02 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
> On 01.08.2012 01:26, Grégoire Sutre wrote:
>
>> The attached patch adds gnulib's stpcpy. This is required
>> on systems lacking stpcpy, e.g., NetBSD 5.1.
>>
>
> Where do we need it? It may make more sense to just use grub_stpcpy in
> these places.
Calls to a stpcpy appear a couple times in:
- util/grub-fstest.c
- util/grub-probe.c
- util/getroot.c [__linux__]
I agree that using grub_stpcpy is fine there. The benefit of importing
gnulib's stpcpy is that it solves current calls to stpcpy, as well as
the future ones (that might be added to GRUB).
There are also calls to stpcpy in:
- grub-core/lib/libgcrypt/cipher/pubkey.c
- grub-core/lib/libgcrypt/cipher/dsa.c
but they do not cause any problem (these files are not compiled afaics).
Grégoire
prev parent reply other threads:[~2012-08-05 14:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-31 23:26 [PATCH] Add gnulib's stpcpy Grégoire Sutre
2012-08-05 10:02 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-08-05 14:43 ` Grégoire Sutre [this message]
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=501E86A8.6090105@gmail.com \
--to=gregoire.sutre@gmail.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.