Re: [PATCH] guile: Type-check the argument to 'history-append!'

Doug Evans <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAP9bCMTDLWhW-VrJ479b6-GEbifzFcmO5Oe0XhL2BmDPBHwZ=A@mail.gmail.com>
On Thu, Jun 5, 2014 at 5:50 AM, Ludovic Courtès <[email protected]> wrote:
> The patch below add a missing type check in ‘history-append!’ (I’m guilty.)
>
> OK to push?
>
> Ludo’.
>
> gdb/
> 2014-06-05  Ludovic Courtès  <[email protected]>
>
>         * guile/scm-value.c (gdbscm_history_append_x): Use
>         'vlscm_get_value_smob_arg_unsafe' instead of
>         'vlscm_scm_to_value'.
>
> gdb/testsuite/
> 2014-06-05  Ludovic Courtès  <[email protected]>
>
>         * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
>         "history-append! type error".

LGTM.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.