Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 600378
Collapse All | Expand All

(-)a/glib/glib/gdate.c (+3 lines)
Lines 2494-2500 g_date_strftime (gchar *s, Link Here
2494
       * recognize whether strftime actually failed or just returned "".
2494
       * recognize whether strftime actually failed or just returned "".
2495
       */
2495
       */
2496
      tmpbuf[0] = '\1';
2496
      tmpbuf[0] = '\1';
2497
#pragma GCC diagnostic push
2498
#pragma GCC diagnostic ignored "-Wformat-nonliteral"
2497
      tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm);
2499
      tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm);
2500
#pragma GCC diagnostic pop
2498
2501
2499
      if (tmplen == 0 && tmpbuf[0] != '\0')
2502
      if (tmplen == 0 && tmpbuf[0] != '\0')
2500
        {
2503
        {

Return to bug 600378