Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Dec 2006 00:51:10 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 110900 for review
Message-ID:  <200612030051.kB30pA7R094842@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=110900

Change 110900 by jb@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*/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612030051.kB30pA7R094842>