9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Steve Simon" <steve@quintile.net>
To: 9fans@9fans.net
Subject: Re: [9fans] mallocz in APE
Date: Thu, 18 Jul 2013 11:45:03 +0100	[thread overview]
Message-ID: <9a90e0026e0caaa0c27978a238e7b605@quintile.net> (raw)
In-Reply-To: <9fb1f0189acbe5546193608dae59e08e@isd.dp.ua>

> A quick fix is to bring up mallocz bits in
> /sys/src/ape/lib/mp/port/libc.h into agreement with the rest.

I would say this is the correct fix.

> Replacing _MALLOCZ back with mallocz within APE realm seems to me a
> better option to consider.

I don't think this is better. APE generally tries very hard to be compliant
to the spirit of ANSI (or POSIX with _POSIX_EXTENSION defined), this
includes not poluting the namespace with plan9isms where possible.

Having said this what about setmalloctag() getcallerpc(), etc etc.

-Steve



  reply	other threads:[~2013-07-18 10:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-18  8:49 yaroslav
2013-07-18 10:45 ` Steve Simon [this message]
2013-07-18 14:30   ` Yaroslav
2013-07-18 14:48     ` Steve Simon
2013-07-18 15:12       ` tlaronde
2013-07-18 15:21       ` erik quanstrom

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=9a90e0026e0caaa0c27978a238e7b605@quintile.net \
    --to=steve@quintile.net \
    --cc=9fans@9fans.net \
    /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.
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).