Date: Fri, 26 Jan 2018 22:59:12 +0000 (UTC) From: Max Khon <fjoe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r460060 - head/databases/libodbc++/files Message-ID: <201801262259.w0QMxC5X056288@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: fjoe Date: Fri Jan 26 22:59:12 2018 New Revision: 460060 URL: https://svnweb.freebsd.org/changeset/ports/460060 Log: Unbreak Clang 6 build. Added: head/databases/libodbc++/files/patch-src-datetime.cpp (contents, props changed) Added: head/databases/libodbc++/files/patch-src-datetime.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/libodbc++/files/patch-src-datetime.cpp Fri Jan 26 22:59:12 2018 (r460060) @@ -0,0 +1,11 @@ +--- src/datetime.cpp.orig 2018-01-26 22:55:42.426793000 +0000 ++++ src/datetime.cpp 2018-01-26 22:56:08.411257000 +0000 +@@ -272,7 +272,7 @@ + # endif + #endif + ,ODBCXX_STRING_CONST("%09d"),nanos_); +- buf[9] = NULL;// Terminate string ++ buf[9] = '\0';// Terminate string + ret+=ODBCXX_STRING(buf); + } + return ret;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801262259.w0QMxC5X056288>