mailing list of musl libc
 help / color / mirror / code / Atom feed
* printf POSIX compliance
@ 2012-06-08 10:34 Reuben Thomas
  2012-06-08 12:19 ` Luca Barbato
                   ` (2 more replies)
  0 siblings, 3 replies; 31+ messages in thread
From: Reuben Thomas @ 2012-06-08 10:34 UTC (permalink / raw)
  To: musl

I notice that the musl FAQ says "the fundamentally broken freadahead
function in gnulib cannot be fixed by adding features to the C
library". I found this question because a user complained about my use
of gnulib in a package I maintain.

I contacted the gnulib maintainers, one of whom replied:

"IIRC, gnulib's freadahead use is caused by musl's printf not being
posix compliant, causing gnulib to pull in its printf replacement,
which doesn't work on musl."

It would be nice to sort this out: either musl's printf is not
POSIX-compliant, or gnulib's detection of POSIX-compliance is buggy.

Does any musl developer fancy looking at a gnulib-using package (e.g.
GNU grep, coreutils &c.) and finding out what gnulib thinks is wrong
with musl's printf? There are obvious benefits to sorting this out,
wherever the fault lies!

-- 
http://rrt.sc3d.org


^ permalink raw reply	[flat|nested] 31+ messages in thread
* Re: printf POSIX compliance
@ 2012-06-11  9:37 Pedro Alves
  0 siblings, 0 replies; 31+ messages in thread
From: Pedro Alves @ 2012-06-11  9:37 UTC (permalink / raw)
  To: musl; +Cc: Pedro Alves

(Escuse me for breaking the threading, but I can't find the message's
ids from the mailing list archive.)

> Apr 19 17:43:04 <brobecke>      wow, that gnulib thing is a lot more
> effort than I thought. Gotta send big thanks to palves for doing it.
> Apr 19 17:44:17 <tromey>        one reason we should maybe update gnulib
> more frequently is that if we wait too long, it is harder to do
> Apr 19 17:44:36 <palves>        I had no idea when I started either :-P
>
> [... 5 hours later ...]
>
> Apr 19 22:45:35 <palves>        yay, gnulib patch in, I can finally
> start my week's plan :-D

Wow, way to pull things out of context to spread some silly FUD.  First, you have
no idea what I had been up to those 5 hours, let alone if I was parked in
front of the computer the whole time...  Then, the "patch" was really a
multitude of patches, involving fixes to issues in GDB and GDBserver (GDBserver was
not using gnulib before, and that was that prompted the gnulib update), with the
most time consuming bit being that the way that GDB imports gnulib was changed
dramatically, because we now have _two_ programs in the same tree that share
the _same_ gnulib import in a way no other program does, afaik.

  http://sourceware.org/ml/gdb-patches/2012-04/msg00426.html
  http://sourceware.org/ml/gdb-patches/2012-04/msg00556.html
  http://sourceware.org/ml/gdb-patches/2012-04/msg00558.html
  http://sourceware.org/ml/gdb-patches/2012-04/msg00608.html
  http://sourceware.org/ml/gdb-patches/2012-04/msg00609.html
  http://sourceware.org/ml/gdb-patches/2012-04/msg00618.html
  http://sourceware.org/ml/gdb-patches/2012-04/msg00620.html
  http://sourceware.org/ml/gdb-patches/2012-04/msg00622.html
  http://sourceware.org/ml/gdb-patches/2012-04/msg00627.html
  http://sourceware.org/ml/gdb-patches/2012-04/msg00631.html
  http://sourceware.org/ml/gdb-patches/2012-04/msg00637.html
  http://sourceware.org/ml/gdb-patches/2012-04/msg00646.html
  http://sourceware.org/ml/gdb-patches/2012-04/msg00692.html

As Reuben says, just updating gnulib is a trivial case of git
pull + running gnulib-tool.

-- 
Pedro Alves


^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2012-06-11  9:37 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-08 10:34 printf POSIX compliance Reuben Thomas
2012-06-08 12:19 ` Luca Barbato
2012-06-08 12:32   ` Reuben Thomas
2012-06-08 14:04 ` Szabolcs Nagy
2012-06-08 14:16   ` Rich Felker
2012-06-08 14:44 ` Rich Felker
2012-06-08 14:55   ` Rich Felker
2012-06-08 15:06     ` Szabolcs Nagy
2012-06-08 15:29       ` Rich Felker
2012-06-08 15:43         ` Reuben Thomas
2012-06-08 15:53           ` Rich Felker
2012-06-08 16:16             ` Reuben Thomas
2012-06-08 16:38               ` John Spencer
2012-06-08 16:37                 ` Reuben Thomas
2012-06-09  7:43                   ` John Spencer
2012-06-09 14:17                     ` Reuben Thomas
2012-06-08 16:46       ` John Spencer
2012-06-08 16:46         ` Reuben Thomas
2012-06-08 16:51           ` Rich Felker
2012-06-08 16:58             ` Reuben Thomas
2012-06-08 17:00           ` Rich Felker
2012-06-08 17:07             ` Reuben Thomas
2012-06-08 23:25               ` Rich Felker
2012-06-09  2:33           ` Isaac Dunham
2012-06-09  2:45             ` Rich Felker
2012-06-09 12:58               ` Szabolcs Nagy
2012-06-09 14:17                 ` Reuben Thomas
2012-06-09 21:11                 ` Rich Felker
2012-06-09 21:24                   ` Reuben Thomas
2012-06-09 14:15               ` Reuben Thomas
2012-06-11  9:37 Pedro Alves

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).