cvs commit: patches/openoffice openoffice-1.1.1-domainname.patch

tushar at tushar at
Sat Apr 24 12:46:23 PDT 2004

tushar      04/04/24 13:46:23

  Added:       openoffice openoffice-1.1.1-domainname.patch
  Added: openoffice-1.1.-domainname.patch
  Revision  Changes    Path
  1.1                  patches/openoffice/openoffice-1.1.1-domainname.patch
  Index: openoffice-1.1.1-domainname.patch
  Submitted By: Alexander E. Patrakov (semzx at newmail dot ru)
  Date: 2003-10-14
  Origin: Alexander E. Patrakov
  Initial Package Version: 1.1.0
  Description: The procedure OpenOffice performs for conversion of host names to
  fully qualified domain names is Just Wrong. It results in a DNS lookup for
  'localhost.(none)' at startup on a typical (B)LFS installation. That slows down
  things and makes DNS admins angry. The Right Thing is to do nothing in
  OpenOffice itself. Glibc will take care of that automatically.
  For discussion, see:
  --- oo_1.1_src/sal/osl/unx/socket.c	2003-10-14 10:05:55.000000000 +0600
  +++ oo_1.1_src/sal/osl/unx/socket.c	2003-10-14 10:07:58.000000000 +0600
  @@ -901,6 +901,7 @@
   static sal_Char* _osl_getFullQualifiedDomainName (const sal_Char *pHostName)
  +	return strdup(pHostName);
   #	define DOMAINNAME_LENGTH 512
   	sal_uInt32 			nLengthOfHostName;
   	static sal_uInt32 	nLengthOfDomainName = 0;

More information about the patches mailing list