Le vendredi 13 mai 2011 00:31:52, Dominic Hargreaves a écrit : > This bug is caused by the fact that pperl names its socket files based > on the full path of the perl program being run under pperl, and there > is a fairly short limit on the full path of the socket (sun_path in > struct sockaddr_un from sys/un.h, 108 characters). The socket name is > being silently truncated on creation.
How about hashing (à la MD5) the full path and use the result as the socket name ? See md5(3ssl) Although this would add a dependency on openssl... HTH Dominique -- http://config-model.wiki.sourceforge.net/ -o- http://search.cpan.org/~ddumont/ http://www.ohloh.net/accounts/ddumont -o- http://ddumont.wordpress.com/
signature.asc
Description: This is a digitally signed message part.