mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Isaac Dunham <idunham@lavabit.com>
To: musl@lists.openwall.com
Subject: Re: _BSD_SOURCE support for musl ready
Date: Mon, 21 May 2012 05:42:37 -0700	[thread overview]
Message-ID: <20120521054237.45b538ae@newbook> (raw)
In-Reply-To: <20120520232651.4ed2d315@newbook>

On Sun, 20 May 2012 23:26:51 -0700
Isaac Dunham <idunham@lavabit.com> wrote:

> I think the _BSD_SOURCE support is ready to merge now.
> It is available from 
> https://github.com/idunham/musl bsd
> 
> Alternately, I attached the diff against master (master-bsd.diff, 604
> lines total touching about 25 files)
> 
> If there are any issues with this, I can try to fix them.

Here are the things that I'm not sure about:
1. logwtmp was added as a stub to src/stub/utmpx.c--fairly sure this is
the right place.
2. innetgr was added as src/stub/innetgr.c
3. HUGE vs MAXFLOAT for _GNU_SOURCE
4. Whitespace/line wrap (sometimes I went 3 feature test macros wide,
where everything else wraps after 2 macros) 
5. I added some macros and two includes to netinet/tcp.h (protected by
_BSD_SOURCE || _GNU_SOURCE). This still doesn't approach complete
coverage.

Isaac Dunham



  reply	other threads:[~2012-05-21 12:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-21  6:26 Isaac Dunham
2012-05-21 12:42 ` Isaac Dunham [this message]
2012-05-21 13:36 ` Rich Felker
2012-05-21 17:19   ` Isaac Dunham
2012-05-21 17:43     ` Rich Felker
2012-05-21 18:31   ` [PATCH]_BSD_SOURCE for musl, take 2 Isaac Dunham
2012-05-22 15:22     ` Rich Felker
2012-05-22 23:19       ` Isaac Dunham

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=20120521054237.45b538ae@newbook \
    --to=idunham@lavabit.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).