When yaws_ctl checks the CTL file to see if any current instance is running, check the socket opened to the port read from the CTL file to verify that the ephemeral port for that socket is not the same as the port read from the CTL file. This avoids a false positive caused by connecting the socket to its own port.
When yaws_ctl checks the CTL file to see if any current instance
is running, check the socket opened to the port read from the CTL
file to verify that the ephemeral port for that socket is not the
same as the port read from the CTL file. This avoids a false positive
caused by connecting the socket to its own port.


git-svn-id: 8a657200d0854a286cb489334e0912b153950abf@1392 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52

namjae/yaws,andreineculau/yaws,sebgod/yaws,treacheroustalks/yaws,ca91/yaws,bsmr-erlang/yaws,sebgod/yaws,namjae/yaws,bsmr-erlang/yaws,imtal/yaws,treacheroustalks/yaws,klacke/yaws,watonyweng/yaws,ca91/yaws,weisslj/yaws,zephyrean/yaws,klacke/yaws,ca91/yaws,jgrinstead/yaws,weisslj/yaws,sebgod/yaws,jgrinstead/yaws,sebgod/yaws,phonohawk/yaws,namjae/yaws,leoliu/yaws,toraritte/azith,phonohawk/yaws,zephyrean/yaws,andreineculau/yaws,patternmatched/yaws,andreineculau/yaws,patternmatched/yaws,phonohawk/yaws,imtal/yaws,capflam/yaws,jgrinstead/yaws,watonyweng/yaws,imtal/yaws,weisslj/yaws,namjae/yaws,capflam/yaws,toraritte/azith,capflam/yaws,bsmr-erlang/yaws,phonohawk/yaws,zephyrean/yaws,bsmr-erlang/yaws,patternmatched/yaws,imtal/yaws,phonohawk/yaws,andreineculau/yaws,klacke/yaws,imtal/yaws,weisslj/yaws,patternmatched/yaws,leoliu/yaws,leoliu/yaws,patternmatched/yaws,jgrinstead/yaws,watonyweng/yaws,patternmatched/yaws,toraritte/azith,patternmatched/yaws,toraritte/azith,capflam/yaws,ca91/yaws,jgrinstead/yaws,klacke/yaws,weisslj/yaws,weisslj/yaws,toraritte/azith,leoliu/yaws,zephyrean/yaws,bsmr-erlang/yaws,zephyrean/yaws,bsmr-erlang/yaws,jgrinstead/yaws,watonyweng/yaws,capflam/yaws,andreineculau/yaws,watonyweng/yaws,leoliu/yaws,klacke/yaws,namjae/yaws,toraritte/azith,imtal/yaws,weisslj/yaws,ca91/yaws,sebgod/yaws,bsmr-erlang/yaws,imtal/yaws,leoliu/yaws,sebgod/yaws,treacheroustalks/yaws,capflam/yaws,namjae/yaws,klacke/yaws,phonohawk/yaws,zephyrean/yaws,jgrinstead/yaws,phonohawk/yaws,capflam/yaws,zephyrean/yaws,ca91/yaws,watonyweng/yaws,sebgod/yaws,toraritte/azith,namjae/yaws,treacheroustalks/yaws,leoliu/yaws,klacke/yaws,watonyweng/yaws,ca91/yaws