Custom Query (204 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (4 - 6 of 204)

1 2 3 4 5 6 7 8 9 10 11 12
Ticket Resolution Summary Owner Reporter
#5 invalid testticket Silvan Scherrer Silvan Scherrer
Description

test

#6 fixed file: zmagic code fails on fork() Yuri Dario
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 Yuri Dario
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);
}
1 2 3 4 5 6 7 8 9 10 11 12
Note: See TracQuery for help on using queries.