[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] branch master updated: zzuf tests: make com
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] branch master updated: zzuf tests: make compatible with *BSD by replacing obsoleted setpgrp() with setpgid(). |
Date: |
Thu, 06 Apr 2017 22:03:34 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new 0bf9a228 zzuf tests: make compatible with *BSD by replacing obsoleted
setpgrp() with setpgid().
0bf9a228 is described below
commit 0bf9a2285ed423cd5ce1b958e02775bdcd65ea25
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Thu Apr 6 23:03:19 2017 +0300
zzuf tests: make compatible with *BSD by replacing obsoleted setpgrp() with
setpgid().
---
ChangeLog | 3 +++
src/testzzuf/socat.c | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index daa20f3c..12dedf7b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+Thu Apr 06 23:02:07 MSK 2017
+ Make zzuf tests compatible with *BSD platforms. -EG
+
Thu Apr 06 22:14:22 MSK 2017
Added warning for hypothetical extra large timeout.
Fixed incorrect timeout calculation under extra rare conditions.
diff --git a/src/testzzuf/socat.c b/src/testzzuf/socat.c
index d2826b2c..3daa54a5 100644
--- a/src/testzzuf/socat.c
+++ b/src/testzzuf/socat.c
@@ -88,7 +88,7 @@ zzuf_socat_start ()
}
return;
}
- setpgrp ();
+ setpgid (0, 0);
execvp ("zzuf", args);
fprintf (stderr, "execution of `zzuf' failed: %s\n", strerror (errno));
zzuf_pid = 0; /* fork failed */
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [libmicrohttpd] branch master updated: zzuf tests: make compatible with *BSD by replacing obsoleted setpgrp() with setpgid().,
gnunet <=