Custom Query (204 matches)
Results (4 - 6 of 204)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#5 | invalid | testticket | ||
Description |
test |
|||
#6 | fixed | file: zmagic code fails on fork() | ||
Description |
Forking in zmagic code fails when invoked from magic.dll; replace fork() with spawn() for better performances. |
|||
#8 | fixed | coreutils: hostid does not support setting host id | ||
Description |
From http://svn.netlabs.org/rpm/ticket/14, OS/2 hostid.exe support setting the current host id, while coreutils hostid can only report current value. This code should work: #include <sys/param.h> #include <sys/sysctl.h> #if __STDC__ long sethostid(long hostid) #else long sethostid(hostid) long hostid; #endif { int mib[2]; mib[0] = CTL_KERN; mib[1] = KERN_HOSTID; if (sysctl(mib, 2, NULL, NULL, &hostid, sizeof hostid) == -1) return (-1); return (0); } |
Note: See TracQuery
for help on using queries.