From owner-svn-ports-all@freebsd.org Mon Jul 2 18:11:58 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CDA0510330CA; Mon, 2 Jul 2018 18:11:58 +0000 (UTC) (envelope-from stephen@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 74D4573BAA; Mon, 2 Jul 2018 18:11:58 +0000 (UTC) (envelope-from stephen@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 579DC1101A; Mon, 2 Jul 2018 18:11:58 +0000 (UTC) (envelope-from stephen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w62IBwQV071761; Mon, 2 Jul 2018 18:11:58 GMT (envelope-from stephen@FreeBSD.org) Received: (from stephen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w62IBwrL071760; Mon, 2 Jul 2018 18:11:58 GMT (envelope-from stephen@FreeBSD.org) Message-Id: <201807021811.w62IBwrL071760@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: stephen set sender to stephen@FreeBSD.org using -f From: Stephen Montgomery-Smith Date: Mon, 2 Jul 2018 18:11:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r473763 - head/graphics/opendx/files X-SVN-Group: ports-head X-SVN-Commit-Author: stephen X-SVN-Commit-Paths: head/graphics/opendx/files X-SVN-Commit-Revision: 473763 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jul 2018 18:11:59 -0000 Author: stephen Date: Mon Jul 2 18:11:57 2018 New Revision: 473763 URL: https://svnweb.freebsd.org/changeset/ports/473763 Log: - A more appropriate patch than that provided by r473695. Modified: head/graphics/opendx/files/patch-src_uipp_dxuilib_EditorWindow.C Modified: head/graphics/opendx/files/patch-src_uipp_dxuilib_EditorWindow.C ============================================================================== --- head/graphics/opendx/files/patch-src_uipp_dxuilib_EditorWindow.C Mon Jul 2 17:55:08 2018 (r473762) +++ head/graphics/opendx/files/patch-src_uipp_dxuilib_EditorWindow.C Mon Jul 2 18:11:57 2018 (r473763) @@ -5,7 +5,7 @@ const char *tmpdir = theDXApplication->getTmpDirectory(); int tmpdirlen = STRLEN(tmpdir); - if (!tmpdirlen) return FALSE; -+ if (!tmpdirlen) return (char*) FALSE; ++ if (!tmpdirlen) return NULL; if (tmpdir[tmpdirlen-1] == '/') { sprintf(netfilename, "%sdx%d.net", tmpdir, getpid()); sprintf(cfgfilename, "%sdx%d.cfg", tmpdir, getpid());