+userv (1.0.4-1) unstable; urgency=low
+
+ Minor portability fixes:
+ * Missing #include <string.h> and <stdlib.h> } Thanks to report
+ * getgroups returns int, not gid_t (!). } from Peter Benie.
+
+ --
+
userv (1.0.3-2) unstable; urgency=low
Debian packaging improvements (only):
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
+#include <string.h>
#include "config.h"
#include "both.h"
mypid= getpid(); if (mypid == (pid_t)-1) syscallerror("getpid");
myuid= getuid(); if (myuid == (uid_t)-1) syscallerror("getuid");
mygid= getgid(); if (mygid == (gid_t)-1) syscallerror("getgid");
- ngids= getgroups(0,0); if (ngids == (gid_t)-1) syscallerror("getgroups(0,0)");
+ ngids= getgroups(0,0); if (ngids == -1) syscallerror("getgroups(0,0)");
gidarray= xmalloc(sizeof(gid_t)*ngids);
if (getgroups(ngids,gidarray) != ngids) syscallerror("getgroups(ngids,)");
+userv (1.0.4-1) unstable; urgency=low
+
+ Minor portability fixes:
+ * Missing #include <string.h> and <stdlib.h> } Thanks to report
+ * getgroups returns int, not gid_t (!). } from Peter Benie.
+
+ --
+
userv (1.0.3-2) unstable; urgency=low
Debian packaging improvements (only):
#include <errno.h>
#include <string.h>
#include <stdio.h>
+#include <stdlib.h>
#include <assert.h>
#include <fnmatch.h>
#include <sys/wait.h>