On Sun, Nov 13, 2011 at 12:46:06PM +0200, Noel Grandin wrote:
GetDomainName is only used by
GetYPDomainName
in the same file
which in turn is only used by
const rtl::OUString& SubstitutePathVariables_Impl::GetYPDomainName()
in
/core/framework/source/services/substitutepathvars.cxx
which in turn is only used by
bool SubstitutePathVariables_Impl::FilterRuleSet( const
SubstituteRuleVector& aRuleSet, SubstituteRule& aActiveRule )
in the same file.
and that particular codepath in that method is only referenced when the
enum EnvironmentType {
ET_YPDOMAIN
constant is used.
This all suggests that it *is* the nis domain that should be returned
there, not the DNS domain.
On Sun, Nov 13, 2011 at 11:58:51AM +0100, Arnaud Versini wrote:
This function is also used in _osl_getFullQualifiedDomainName,
No, it does not. Not in master, not in libreoffice-3-4.
osl_getFullQualifiedDomainName uses gethostbyname_r.
--
Lionel
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.