CC: | salva [...] cpan.org, sfandino [...] yahoo.com |
Subject: | Devel-FastProg bug report - use fcntl not flock |
Date: | Wed, 6 Dec 2006 12:50:32 +1100 |
To: | bug-Devel-FastProf [...] rt.cpan.org |
From: | David.Pitt [...] nab.com.au |
Hi Salvador,
I attempted to build Devel-FastProf 0.05 with Perl 5.8.8 on Solaris 8
(SunOS 5.8), it fails because FastProf.xs uses the unsupported BSD flock(3)
function for file locking. Attached is a patch to use more portable
fcntl(2) for file locking:
(See attached file: FastProf.xs.diff.txt)
and the patched file:
(See attached file: FastProf.xs)
The fix passes 'make test', and some rudimentary tests involving forked
processes.
Hope this helps.
Regards,
David Pitt | Enterprise Services Technology | National Australia Bank
Limited
Phone +61 3 8641 2014 | Email david.pitt@nab.com.au | Level 6, 500 Bourke
Street, Melbourne
National Australia Bank Ltd - ABN 12 004 044 937
This email may contain confidential information. If you are not the intended recipient, please immediately notify us at postmaster@nab.com.au or by replying to the sender, and then destroy all copies of this email. Except where this email indicates otherwise, views expressed in this email are those of the sender and not of National Australia Bank Ltd. Advice in this email does not take account of your objectives, financial situation, or needs. It is important for you to consider these matters and, if the e-mail refers to a product(s), you should read the relevant Product Disclosure Statement(s)/other disclosure document(s) before making any decisions. If you do not want email marketing from us in future, forward this email with "unsubscribe" in the subject line to Unsubscriptions@nab.com.au in order to stop marketing emails from this sender. National Australia Bank Ltd does not represent that this email is free of errors, viruses or interference.
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.