mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Subject: Re: [PATCH] _BSD_SOURCE for unistd.h, take 2
Date: Thu, 5 Apr 2012 22:04:35 -0400	[thread overview]
Message-ID: <20120406020435.GC8803@brightrain.aerifal.cx> (raw)
In-Reply-To: <20120405184534.77ad0b4b@newbook>

On Thu, Apr 05, 2012 at 06:45:34PM -0700, Isaac Dunham wrote:
> This is what was left from the comments.
> 
> This adds L_SET & co., and defines 5 functions that had been under
> _GNU_SOURCE only, when _BSD_SOURCE is defined.
> If I wanted to make things a little easier on those porting, I might
> add something like this when _BSD_SOURCE is defined:
> #warn "BSD setpgrp should be changed to setpgid"
> That's not essential, though.

The mismatching prototype should be enough to get a nice error. :)

Anyway, patch looks good now. Should I start committing or do you want
to prepare a unified patch for all the headers?

Rich


  reply	other threads:[~2012-04-06  2:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-05 22:55 Namespace issues, missing functions, _BSD_SOURCE for unistd.h Isaac Dunham
2012-04-06  0:10 ` Rich Felker
2012-04-06  1:03   ` Isaac Dunham
2012-04-06  1:52     ` Rich Felker
2012-04-06  1:45   ` [PATCH] _BSD_SOURCE for unistd.h, take 2 Isaac Dunham
2012-04-06  2:04     ` Rich Felker [this message]
2012-04-06  2:40       ` Isaac Dunham
2012-04-06  2:51         ` Rich Felker
2012-04-06 14:48     ` Rich Felker
2012-04-06 15:48       ` Isaac Dunham
2012-04-06 23:32         ` Rich Felker
2012-04-07  5:47           ` 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=20120406020435.GC8803@brightrain.aerifal.cx \
    --to=dalias@aerifal.cx \
    --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).