Date: Mon, 2 Jul 2018 18:11:58 +0000 (UTC) From: Stephen Montgomery-Smith <stephen@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r473763 - head/graphics/opendx/files Message-ID: <201807021811.w62IBwrL071760@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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());
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807021811.w62IBwrL071760>