Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180111114305.GG1268@lucy.localdomain>
Date: Thu, 11 Jan 2018 11:43:05 +1100
From: Peter Wang <novalazy@...il.com>
To: musl@...ts.openwall.com
Subject: alternative form flag with zero octal value

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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.