From owner-cvs-all@FreeBSD.ORG Sat Apr 26 04:43:19 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEF78106566C; Sat, 26 Apr 2008 04:43:19 +0000 (UTC) (envelope-from jb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 99A668FC19; Sat, 26 Apr 2008 04:43:19 +0000 (UTC) (envelope-from jb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m3Q4hJNH000693; Sat, 26 Apr 2008 04:43:19 GMT (envelope-from jb@repoman.freebsd.org) Received: (from jb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m3Q4hJJw000692; Sat, 26 Apr 2008 04:43:19 GMT (envelope-from jb) Message-Id: <200804260443.m3Q4hJJw000692@repoman.freebsd.org> From: John Birrell Date: Sat, 26 Apr 2008 04:43:19 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/cddl/contrib/opensolaris/lib/libdtrace/common dt_error.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Apr 2008 04:43:19 -0000 jb 2008-04-26 04:43:19 UTC FreeBSD src repository Modified files: cddl/contrib/opensolaris/lib/libdtrace/common dt_error.c Log: There are many places in libdtrace where errno can be set. When an error is returned all the way back to the dtrace app, it's hard to figure out where that error came from. Add a couple of functions to get and set the error location which can be optionally compiled into the library. Revision Changes Path 1.2 +0 -0 src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_error.c