[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for e
From: |
Eli Zaretskii |
Subject: |
bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems |
Date: |
Mon, 21 Dec 2015 17:37:28 +0200 |
> Cc: wjenkner@inode.at, dalias@aerifal.cx, 22086@debbugs.gnu.org
> From: Paul Eggert <eggert@cs.ucla.edu>
> Date: Mon, 21 Dec 2015 03:18:03 -0800
>
> Eli Zaretskii wrote:
> > Wouldn't memory allocated with emallooc conflict with uses of malloc
> > in the startup code?
>
> It shouldn't conflict, as long as memory allocated by the system malloc is
> freed
> by the system free, and memory allocated with emalloc is freed by
> efree.
I don't see how this could be arranged. E.g., the environ array might
be created by the startup code, and then the application could
manipulate it with setenv and unsetenv. The former will use the libc
malloc, the latter emalloc/efree.
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, (continued)
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Ken Brown, 2015/12/20
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Rich Felker, 2015/12/20
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Ken Brown, 2015/12/21
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Daniel Colascione, 2015/12/21
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Rich Felker, 2015/12/21
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Daniel Colascione, 2015/12/21
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Eli Zaretskii, 2015/12/20
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Paul Eggert, 2015/12/21
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems,
Eli Zaretskii <=
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Paul Eggert, 2015/12/21
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Wolfgang Jenkner, 2015/12/21
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Wolfgang Jenkner, 2015/12/21
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Paul Eggert, 2015/12/21
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Wolfgang Jenkner, 2015/12/21
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Paul Eggert, 2015/12/23