[Libreoffice] [PATCH] EasyHacks: Accelerate Perl Installer

Jordan Ayers jordan.ayers at gmail.com
Sun Nov 7 16:45:31 PST 2010


Hi,
    I was looking at the perl installer, and attached are patches to
change most of the chmod system calls into calls to the built-in
command.  This change alone doesn't seem to make a big difference (it
cut about 5 seconds off of a 4 1/2 minute run of ooinstall for me).
    The second patch includes the replacement of a couple of two-step
chmod calls with a single built-in call; the original code indicated
that it was a work-around for removing the sticky bit on Macs.  I
don't have a Mac to test that the new call handles sticky bits in the
same way, but expect that it will from checking the current perlport
doc.

    LGPLv3+/MPL.

Jordan Ayers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Perl-Installer-Use-built-in-chmod.patch
Type: text/x-patch
Size: 9996 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20101107/44d79f31/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Perl-Installer-Use-built-in-chmod.patch
Type: text/x-patch
Size: 8377 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20101107/44d79f31/attachment-0001.bin>


More information about the LibreOffice mailing list