mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: Yuriy Chernyshov <georgthegreat@gmail.com>
Cc: musl@lists.openwall.com
Subject: Re: [musl] Re: Typo in atexit.c (?)
Date: Wed, 20 Jan 2021 12:51:25 -0500	[thread overview]
Message-ID: <20210120175124.GL23432@brightrain.aerifal.cx> (raw)
In-Reply-To: <CAPHLbgNyq=G7_pJ8v+04vP2z8CzqRR1M8+r==B_ECqPe5kOXrw@mail.gmail.com>

On Wed, Jan 20, 2021 at 06:45:23PM +0300, Yuriy Chernyshov wrote:
> As I see, this turned out to be a combination of a local patch applied to
> atexit.c.
> 
> The patch introduces cleanup of additionally allocated fl chunks allocated
> by calloc calls in __cxa_atexit.
> I think I can upstream the patch upon a brief adaptation to match the
> styleguide.
> 
> What do you think?

I'm not sure what this patch is for, but no it cannot be upstreamed.
It would make all programs using atexit link free. The use of malloc
without free is very intentional.

Rich

      reply	other threads:[~2021-01-20 17:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-20 13:54 [musl] " Yuriy Chernyshov
2021-01-20 15:45 ` [musl] " Yuriy Chernyshov
2021-01-20 17:51   ` Rich Felker [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=20210120175124.GL23432@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --cc=georgthegreat@gmail.com \
    --cc=musl@lists.openwall.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).