Re: [PATCH 01/13] libfshelp: use a hash table in get-identity.c

2013-12-09 Thread Samuel Thibault
Justus Winter, le Mon 09 Dec 2013 15:16:29 +0100, a écrit : > Currently fshelp_get_identity uses ports_class_iterate to de-duplicate > the identity ports. Use a hash table instead. Ack. > * libfshelp/get-identity.c (struct idspec): Remove field fileno. > (struct idspec): Add field id_hashloc. > (

[PATCH 01/13] libfshelp: use a hash table in get-identity.c

2013-12-09 Thread Justus Winter
Currently fshelp_get_identity uses ports_class_iterate to de-duplicate the identity ports. Use a hash table instead. * libfshelp/get-identity.c (struct idspec): Remove field fileno. (struct idspec): Add field id_hashloc. (id_clean): New function. (id_initialize): Use id_clean as cleanup function f