use setpgid() instead of setpgrp(), the latter has a different number of

2006-09-21  Michael Natterer  <mitch@gimp.org>

	* plug-ins/uri/uri-backend-wget.c (uri_backend_load_image): use
	setpgid() instead of setpgrp(), the latter has a different number
	of arguments on darwin. Let's see where it breaks now...
This commit is contained in:
Michael Natterer 2006-09-21 01:14:19 +00:00 committed by Michael Natterer
parent 9ed2fb93fe
commit 9ee803df74
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2006-09-21 Michael Natterer <mitch@gimp.org>
* plug-ins/uri/uri-backend-wget.c (uri_backend_load_image): use
setpgid() instead of setpgrp(), the latter has a different number
of arguments on darwin. Let's see where it breaks now...
2006-09-20 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpcolornotebook.c: use canonical names for

View File

@ -83,7 +83,7 @@ uri_backend_load_image (const gchar *uri,
}
/* open a process group, so killing the plug-in will kill wget too */
setpgrp ();
setpgid (0, 0);
if ((pid = fork()) < 0)
{