[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [COMMITTED] libpoke: avoid more xalloc and fix ICEs without pass bre
From: |
Mohammad-Reza Nabipoor |
Subject: |
Re: [COMMITTED] libpoke: avoid more xalloc and fix ICEs without pass breaking |
Date: |
Tue, 24 Sep 2024 21:00:17 +0200 |
Hi.
On Tue, Sep 24, 2024 at 12:55:58PM GMT, Jose E. Marchesi wrote:
>
> 2024-09-24 Jose E. Marchesi <jemarch@gnu.org>
>
> * libpoke/pkl-fold.c (OP_BINARY_SIS): Signal out of memory.
> (EMUL_SIS): Use malloc instead of xmalloc.
> (OP_BINARY_SSS): Call PKL_PASS_ERROR after PKL_ICE.
> * libpoke/pkl-trans.c (pkl_trans1_ps_format): Likewise.
> (pkl_trans2_ps_incdecr): Likewise.
> * libpoke/pkl-trans.c (XSTRDUP): Likewise.
> (XMALLOC): Likewise.
> * libpoke/pkl-gen.c (pkl_gen_ps_func): Likewise.
This commit along side the following commit has been cherry-picked to
maint/poke-4:
commit dd05350e3f2975160b4b1b40081c1e6f5f01bcb0
Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Date: Tue Sep 24 11:55:38 2024 +0200
libpoke: avoid xalloc in several files
2024-09-24 Jose E. Marchesi <jemarch@gnu.org>
* libpoke/pkl-ast.c: Likewise.
* libpoke/pkl-fold.c: Do not include xalloc.h.
* libpoke/pkl-tab.y: Do not include xalloc.h.
* libpoke/pkl-trans.c: Do not include xalloc.h.
(XSTRDUP): Define.
(XMALLOC): Likewise.