mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Thomas Kreuzer <tmkreuzer@gmail.com>
To: musl@lists.openwall.com
Subject: Re: Last call for bugfixes for 1.0
Date: Sun, 16 Mar 2014 16:08:14 +0100	[thread overview]
Message-ID: <5325BE5E.6020001@rwth-aachen.de> (raw)
In-Reply-To: <20140315075223.GA27718@brightrain.aerifal.cx>

Hello everyone,

I noticed that I am unable to wirte my own fgetln function inside a 
static linked library, even though fgetln should only be exposed by 
GNU_SOURCE or BSD_SOURCE, or shouldn't it?

I compile with "-std=c99 and -D_XOPEN_SOURCE=700"

Everything compiles fine, but seg faults, when the function is used in a 
running program, if I rename the function, everything works as expected.

Somehow the musl function fgetln interferes with my fgetln function.

regards,
Thomas

On 15.03.2014 08:52, Rich Felker wrote:
> I'm hoping to pack up and release 1.0 in the next few days, so please
> report any issues that we might be able to fix before releasing.
>
> Rich
>



  parent reply	other threads:[~2014-03-16 15:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-15  7:52 Rich Felker
2014-03-15 21:29 ` David Grothe
2014-03-15 22:26   ` Rich Felker
2014-03-16 15:08 ` Thomas Kreuzer [this message]
2014-03-16 15:25   ` Rich Felker
2014-03-16 18:28     ` Thomas Kreuzer
2014-03-16 19:06       ` Rich Felker
2014-03-17  1:34 ` orc
2014-03-17  1:37   ` Rich Felker
2014-03-17  3:28     ` orc
2014-03-17  3:41       ` Rich Felker

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=5325BE5E.6020001@rwth-aachen.de \
    --to=tmkreuzer@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).