control whether the scheduler automatically creates its own
self-signed X.509 certificates for TLS connections (Issue #4876)
- http*Connect did not handle partial failures (Issue #4870)
+ - Addressed some build warnings on Linux (Issue #4881)
- Updated localizations (PR #4877)
*device_id = '\0';
# ifdef __linux
- if (ioctl(fd, LPIOC_GET_DEVICE_ID(device_id_size), device_id))
+ if (ioctl(fd, LPIOC_GET_DEVICE_ID((unsigned)device_id_size), device_id))
{
/*
* Linux has to implement things differently for every device it seems.
#ifdef HAVE_GETGROUPLIST
if (user)
{
- int ngroups, /* Number of groups */
- groups[2048]; /* Groups that user belongs to */
+ int ngroups; /* Number of groups */
+ gid_t groups[2048]; /* Groups that user belongs to */
ngroups = (int)(sizeof(groups) / sizeof(groups[0]));
- getgrouplist(username, (int)user->pw_gid, groups, &ngroups);
+ getgrouplist(username, user->pw_gid, groups, &ngroups);
for (i = 0; i < ngroups; i ++)
- if ((int)group->gr_gid == groups[i])
+ if (group->gr_gid == groups[i])
return (1);
}
#endif /* HAVE_GETGROUPLIST */