Re: compiling okay, success running gtk-app computer dependant

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

edward hage <edha@xxxxxxxxx> writes:

> I narrowed the problem down to this program. The following program
> shows a Segmetation Fault on one computer, and works fine for the
> other.

gdb clearly shows that the crash happens in exit() so it is unlikely
that a GLib function is causing your problem.

> 9:   struct tm tms;

> 14:
> 15:  tms = *localtime (&current_time);

That's a rather interesting use of localtime(). I guess you wanted to
write this instead:

  struct tm *tms;

  tms = localtime (&current_time);


Sven
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux