Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > contrib-release > by-pkgid > aa0a0c745bf74bd0c70c4944117a40d3 > files > 175

gnugk-2.3.1-1mdv2010.1.x86_64.rpm

For PWLib version 1.10.3, here are two small fixes that affect GnuGk runtime behavior
(the first one fixed non-thread safe implementation of PIPSocket::Address::AsString
and the second one fixed config reloading, when some old cached config was sometimes
used instead of the new one):

diff -r pwlib_v1_10_3/src/ptlib/common/sockets.cxx pwlib/src/ptlib/common/sockets.cxx
2415c2415
<   if (version == 6) {
---
>   if (version == 6 || version == 4) {
diff -r pwlib_v1_10_3/src/ptlib/unix/config.cxx pwlib/src/ptlib/unix/config.cxx
548c548,549
<     instance->RemoveInstance(key);
---
>     if (instance->RemoveInstance(key))
> 	RemoveAt(key);
diff -r pwlib_v1_10_3/include/ptlib/notifier.h pwlib/include/ptlib/notifier.h
38a39
> #pragma GCC diagnostic ignored "-Waddress"