"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "glib/glib/gdate.c" between
pkg-config-0.29.1.tar.gz and pkg-config-0.29.2.tar.gz

About: pkg-config returns (meta-)information about installed libraries (to make putting together all the build flags when compiling/linking a lot easier).

gdate.c  (pkg-config-0.29.1):gdate.c  (pkg-config-0.29.2)
skipping to change at line 2438 skipping to change at line 2438
* string and stores a UTF-8 result. * string and stores a UTF-8 result.
* *
* This function does not provide any conversion specifiers in * This function does not provide any conversion specifiers in
* addition to those implemented by the platform's C library. * addition to those implemented by the platform's C library.
* For example, don't expect that using g_date_strftime() would * For example, don't expect that using g_date_strftime() would
* make the \%F provided by the C99 strftime() work on Windows * make the \%F provided by the C99 strftime() work on Windows
* where the C library only complies to C89. * where the C library only complies to C89.
* *
* Returns: number of characters written to the buffer, or 0 the buffer was too small * Returns: number of characters written to the buffer, or 0 the buffer was too small
*/ */
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wformat-nonliteral"
gsize gsize
g_date_strftime (gchar *s, g_date_strftime (gchar *s,
gsize slen, gsize slen,
const gchar *format, const gchar *format,
const GDate *d) const GDate *d)
{ {
struct tm tm; struct tm tm;
#ifndef G_OS_WIN32 #ifndef G_OS_WIN32
gsize locale_format_len = 0; gsize locale_format_len = 0;
gchar *locale_format; gchar *locale_format;
skipping to change at line 2548 skipping to change at line 2551
else else
retval = convlen; retval = convlen;
memcpy (s, convbuf, convlen); memcpy (s, convbuf, convlen);
s[convlen] = '\0'; s[convlen] = '\0';
g_free (convbuf); g_free (convbuf);
return retval; return retval;
#endif #endif
} }
#pragma GCC diagnostic pop
 End of changes. 2 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS