Re: Hacking on the mail plugin

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

 



On Sat, 2009-10-03 at 21:27 -0500, Chris Mohler wrote:
> However, I can not for the life of me figure out why my call to
> g_spawn_async throws a segfault every time.  

Well, you pass it a pointer to xdgargs which was previously allocated on
the stack like this:

  gchar *xdgargs[sizeof (gchar)];

This should probably read

  gchar *xdgargs[4];

instead, since you want to store three arguments plus a trailing NULL.

And please make sure that you convert your tabs to spaces before you
submit your patch. Thanks.


Sven


_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux