source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: Ths SYNCHRONOUS = off optimisation fails on my Mac OSX.
@ 2012-06-09 11:21 kristaps
  2012-06-09 11:23 ` Kristaps Dzonsons
  0 siblings, 1 reply; 2+ messages in thread
From: kristaps @ 2012-06-09 11:21 UTC (permalink / raw)
  To: source

Log Message:
-----------
Ths SYNCHRONOUS = off optimisation fails on my Mac OSX.  Take it out until
I can test properly for this feature.

Modified Files:
--------------
    mdocml:
        mandocdb.c

Revision Data
-------------
Index: mandocdb.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mandocdb.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -Lmandocdb.c -Lmandocdb.c -u -p -r1.53 -r1.54
--- mandocdb.c
+++ mandocdb.c
@@ -509,7 +509,9 @@ main(int argc, char *argv[])
 			 * turn off synchronous mode for much better
 			 * performance.
 			 */
+#ifndef __APPLE__
 			SQL_EXEC("PRAGMA synchronous = OFF");
+#endif
 
 			if (0 == ofmerge(mc, mp, dirs.paths[j]))
 				goto out;
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mdocml: Ths SYNCHRONOUS = off optimisation fails on my Mac OSX.
  2012-06-09 11:21 mdocml: Ths SYNCHRONOUS = off optimisation fails on my Mac OSX kristaps
@ 2012-06-09 11:23 ` Kristaps Dzonsons
  0 siblings, 0 replies; 2+ messages in thread
From: Kristaps Dzonsons @ 2012-06-09 11:23 UTC (permalink / raw)
  To: source

> Ths SYNCHRONOUS = off optimisation fails on my Mac OSX.  Take it out until
> I can test properly for this feature.

Clarification: causes a segfault.

--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-09 11:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-09 11:21 mdocml: Ths SYNCHRONOUS = off optimisation fails on my Mac OSX kristaps
2012-06-09 11:23 ` Kristaps Dzonsons

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).