mailing list of musl libc
 help / color / mirror / code / Atom feed
* alternative form flag with zero octal value
@ 2018-01-11  0:43 Peter Wang
  2018-01-11  2:02 ` Rich Felker
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Wang @ 2018-01-11  0:43 UTC (permalink / raw)
  To: musl

Hi,

I'm not certain it is a bug, but this program produces "00" instead of "0":

    #include <stdio.h>
    int main(void)
    {
        printf("%#o\n", 0);
        return 0;
    }

Please Cc: any replies as I am not subscribed to this list.

Peter


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

end of thread, other threads:[~2018-01-12  8:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-11  0:43 alternative form flag with zero octal value Peter Wang
2018-01-11  2:02 ` Rich Felker
2018-01-11  2:17   ` Rich Felker
2018-01-11  8:12     ` Jens Gustedt
2018-01-11 18:55       ` Rich Felker
2018-01-11 19:36         ` Jens Gustedt
2018-01-12  0:38           ` Rich Felker
2018-01-12  8:54             ` Jens Gustedt

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