[Libreoffice] [PATCH] Replace command domainname by getdomainname() on Unix

Noel Grandin noelgrandin at gmail.com
Sun Nov 13 05:54:03 PST 2011


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.


More information about the LibreOffice mailing list