aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs
diff options
context:
space:
mode:
authorColin_Morey <Colin_Morey@web>2011-08-12 05:35:25 -0400
committeradmin <admin@branchable.com>2011-08-12 05:35:25 -0400
commit86a2e6524cf69c472736d4761bf002f8d211b4b4 (patch)
treee759e0fe24b5a358ce315f024cd2c77d2f2a0731 /doc/bugs
parent017babd9f3bd25afd7e55d720af368b32558c442 (diff)
downloadikiwiki-86a2e6524cf69c472736d4761bf002f8d211b4b4.tar
ikiwiki-86a2e6524cf69c472736d4761bf002f8d211b4b4.tar.gz
Diffstat (limited to 'doc/bugs')
-rw-r--r--doc/bugs/ikiwiki_cgi_fails_to_build_on_Solaris_due_to_missing_LOCK__95__EX.mdwn16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/bugs/ikiwiki_cgi_fails_to_build_on_Solaris_due_to_missing_LOCK__95__EX.mdwn b/doc/bugs/ikiwiki_cgi_fails_to_build_on_Solaris_due_to_missing_LOCK__95__EX.mdwn
index 6286d6893..2913bfb53 100644
--- a/doc/bugs/ikiwiki_cgi_fails_to_build_on_Solaris_due_to_missing_LOCK__95__EX.mdwn
+++ b/doc/bugs/ikiwiki_cgi_fails_to_build_on_Solaris_due_to_missing_LOCK__95__EX.mdwn
@@ -13,3 +13,19 @@ cc: Sun C 5.9 SunOS_i386 Patch 124868-01 2007/07/12
I don't know enough C to provide a patch, but from googling it, people seem to be suggesting fcntl has an alternative.
+
+
+-----
+
+
+changing
+
+ if (lockfd != -1 && flock(lockfd, LOCK_EX) == 0) {
+
+
+to read
+
+ if (lockfd != -1 && lockf(lockfd, F_LOCK,0) == 0) {
+
+
+in IkiWiki/Wrapper.pm lets it compile, according to http://man-wiki.net/index.php/3:lockf "On Linux, this call is just an interface for fcntl(2)" does this seem like a sensible fix?