b3c0bec1c7
and API stability. The port does not build nor install the Perl and Tcl APIs -- these will be added by separate ports. PR: ports/83932 Submitted by: Ron van Daal (maintainer to be)
21 lines
541 B
Text
21 lines
541 B
Text
--- magick/utility.c Sat Apr 2 17:35:06 2005
|
|
+++ magick/utility.c Sun Jul 24 18:22:40 2005
|
|
@@ -47,4 +47,8 @@
|
|
#include "magick/utility.h"
|
|
|
|
+#if defined(POSIX)
|
|
+# include <sys/types.h>
|
|
+# include <sys/wait.h>
|
|
+#endif
|
|
|
|
/*
|
|
@@ -3874,4 +3878,9 @@
|
|
#if defined(POSIX)
|
|
status=system(command);
|
|
+ if (status == -1)
|
|
+ perror(command);
|
|
+ else if (WIFSIGNALED(status)) {
|
|
+ fprintf(stderr, "Command ``\n%s\n'' terminated due to signal %d\n", command, WTERMSIG(status));
|
|
+ }
|
|
#elif defined(vms)
|
|
status=!system(command);
|