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

Arnaud Versini arnaud.versini at gmail.com
Sat Nov 12 12:00:08 PST 2011


Hi,

I have noticed some forks during valgrind check, I think it will be better
to use functions instead of the unix command. This patch replace the fork
and exec  domainnanme by a simple call to getdomainname(). It is faster and
we sould have less message during valgrind and strace investigation's.

Best regards

-- 
Arnaud Versini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111112/af097ac6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Replace-domainname-command-by-getdomainname-syscall-or-function.patch
Type: text/x-patch
Size: 1974 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111112/af097ac6/attachment.bin>


More information about the LibreOffice mailing list