PERFORCE change 110900 for review

John Birrell jb at FreeBSD.org
Sat Dec 2 16:51:11 PST 2006


http://perforce.freebsd.org/chv.cgi?CH=110900

Change 110900 by jb at jb_freebsd8 on 2006/12/03 00:50:34

	On FreeBSD we have less control over our source base. Failing
	in a CTF tool shouldn't make us fail a build, so exit with
	no error after outputting the whinge-message.

Affected files ...

.. //depot/projects/opensolaris/contrib/opensolaris/tools/ctf/cvt/util.c#3 edit

Differences ...

==== //depot/projects/opensolaris/contrib/opensolaris/tools/ctf/cvt/util.c#3 (text) ====

@@ -148,7 +148,17 @@
 
 	if (getenv("CTF_ABORT_ON_TERMINATE") != NULL)
 		abort();
+#if defined(__FreeBSD__)
+/*
+ * For the time being just output the termination message, but don't
+ * return an exit status that would cause the build to fail. We need
+ * to get as much stuff built as possible before going back and
+ * figuring out what is wrong with certain files.
+ */
+	exit(0);
+#else
 	exit(1);
+#endif
 }
 
 /*PRINTFLIKE1*/
@@ -161,7 +171,11 @@
 	whine("ERROR", format, ap);
 	va_end(ap);
 
+#if defined(sun)
 	abort();
+#else
+	exit(0);
+#endif
 }
 
 /*PRINTFLIKE1*/


More information about the p4-projects mailing list