Re: glib bug
- From: Darin Fisher <dfisher jagger me berkeley edu>
- Cc: gtk-list <gtk-list gnome org>
- Subject: Re: glib bug
- Date: Tue, 17 Oct 2000 18:36:26 -0700
The problem is that %G is not a valid format sequence. If you
change it to %g then the program works as expected.
Darin
Gustavo João Alves Marques Carneiro wrote:
This program, however strange it may be, crashes due to some bug in
GLib. I'm using GLib 1.2.8.
#include <glib.h>
int main(void)
{
char *str;
str = g_strdup_printf(" dasd asd asas d %G sd asdas asdas",
3.141592654e-233);
printf("%s\n", str);
g_free(str);
return 0;
}
- References:
- glib bug
- From: Gustavo João Alves Marques Carneiro
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]