glib bug
- From: Gustavo João Alves Marques Carneiro <ee96090 fe up pt>
- To: gtk-list <gtk-list gnome org>
- Subject: glib bug
- Date: Mon, 16 Oct 2000 11:13:15 +0100 (WEST)
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;
}
--
Gustavo J. A. M. Carneiro
[http://linuxdeec.fe.up.pt/~ee96090]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]