poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [COMMITTED 2/2] libpoke: use `fputs' in `pkl_ast_print'


From: Jose E. Marchesi
Subject: Re: [COMMITTED 2/2] libpoke: use `fputs' in `pkl_ast_print'
Date: Mon, 18 Dec 2023 11:08:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Hi Mohammad.
OK for master.
Thanks!.


> 2023-12-04  Mohammad-Reza Nabipoor  <mnabipoor@gnu.org>
>
>       * libpoke/pkl-ast.c (pkl_ast_print): Change `fprintf' with `fputs'.
> ---
>  ChangeLog         | 4 ++++
>  libpoke/pkl-ast.c | 2 +-
>  2 files changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/ChangeLog b/ChangeLog
> index e4183376..7ec8cf59 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1,7 @@
> +2023-12-04  Mohammad-Reza Nabipoor  <mnabipoor@gnu.org>
> +
> +     * libpoke/pkl-ast.c (pkl_ast_print): Change `fprintf' with `fputs'.
> +
>  2023-12-01  Mohammad-Reza Nabipoor  <mnabipoor@gnu.org>
>  
>       * libpoke/libpoke.h (struct pk_iod_if): Fix comments by referring to
> diff --git a/libpoke/pkl-ast.c b/libpoke/pkl-ast.c
> index 997053da..25ecd096 100644
> --- a/libpoke/pkl-ast.c
> +++ b/libpoke/pkl-ast.c
> @@ -3781,7 +3781,7 @@ pkl_ast_print (FILE *fp, pkl_ast_node ast)
>    if (str == NULL)
>      /* The only possible error here is out-of-memory.  */
>      xalloc_die ();
> -  fprintf (fp, str);
> +  fputs (str, fp);
>    free (str);
>  }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]