Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


I've seen it is used by using gdb on _osl_getFullQualifiedDomainName. I
don't remember how but I could provide you the bt after the build. It's not
directly but _osl_getFullQualifiedDomainName is used during file locking.

I'm writting a patch to remove the usage of _osl_getDomainName.

2011/11/13 Noel Grandin <noelgrandin@gmail.com>

Arnaud is correct, I was looking at the wrong method. But where do you
see this method being used in file locking?

Lionel, I've run across a lot of machines with badly configured DNS.

socket.c:   _osl_getDomainName

is only used by
socket.c:   static sal_Char* _osl_getFullQualifiedDomainName (const
sal_Char *pHostName)

which is only used by
socket.c:   static oslHostAddr _osl_hostentToHostAddr (const struct
hostent *he)

which is used by
socket.c:   oslHostAddr SAL_CALL osl_psz_createHostAddrByName (const
sal_Char *pszHostname)
and
socket.c:   oslHostAddr SAL_CALL osl_createHostAddrByAddr (const
oslSocketAddr pAddr)

and I assume that SAL_CALL means that these are part of the public API.




-- 
Arnaud Versini

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.