office-gobmx/external/firebird/debug-gfix-failure.patch
Stephan Bergmann 128e7ce3ff external/firebird: Try track down "Couldn't turn forced writes off" failure
...that is sporadically observed on tinderboxes.  (Can be reverted once the
cause is found.)

Change-Id: I74135b3159fe686b7d7da33da569bde6c73b89e2
2016-08-25 09:43:10 +02:00

22 lines
523 B
Diff

--- examples/empbuild/empbuild.e
+++ examples/empbuild/empbuild.e
@@ -65,6 +65,7 @@
*
**************************************/
TEXT cmd [140];
+int status;
if (argc > 1)
strcpy (Db_name, argv[1]);
@@ -95,9 +96,9 @@
printf ("Turning forced writes off\n");
sprintf (cmd, "gfix -write async %s", Db_name);
-if (system (cmd))
+if ((status = system (cmd)))
{
- printf ("Couldn't turn forced writes off\n");
+ printf ("Couldn't turn forced writes off (%d)\n", status);
exit (FINI_ERROR);
}