freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Marc Abramowitz <marca AT surveymonkey.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Best way to get FreeTDS version?
- Date: Sat, 2 Mar 2013 17:56:29 +0000
On 3/1/13 7:56 PM, "James K. Lowden" <jklowden AT freetds.org> wrote:
>Just change dbversion to refer to TDS_VERSION_NO instead. I see no
>great value in using the CVS keyword expansion, especially now that
>we're not using CVS. ;-)
>
>That's the right fix IMO. If you supply a patch, I'd gladly apply it.
OK, here you go:
diff --git a/src/dblib/dblib.c b/src/dblib/dblib.c
index 21ba37a..2a9978c 100644
--- a/src/dblib/dblib.c
+++ b/src/dblib/dblib.c
@@ -6598,7 +6598,7 @@ const char *
dbversion()
{
tdsdump_log(TDS_DBG_FUNC, "dbversion(void)\n");
- return rcsid_var;
+ return TDS_VERSION_NO;
}
#if defined(DBLIB_UNIMPLEMENTED)
>
-
[freetds] Best way to get FreeTDS version?,
Marc Abramowitz, 03/01/2013
-
Re: [freetds] Best way to get FreeTDS version?,
James K. Lowden, 03/01/2013
-
Re: [freetds] Best way to get FreeTDS version?,
Marc Abramowitz, 03/01/2013
-
Re: [freetds] Best way to get FreeTDS version?,
James K. Lowden, 03/01/2013
-
Re: [freetds] Best way to get FreeTDS version?,
Marc Abramowitz, 03/02/2013
-
Re: [freetds] Best way to get FreeTDS version?,
James K. Lowden, 03/02/2013
-
Re: [freetds] Best way to get FreeTDS version?,
Marc Abramowitz, 03/03/2013
- Re: [freetds] Best way to get FreeTDS version?, Frediano Ziglio, 03/09/2013
-
Re: [freetds] Best way to get FreeTDS version?,
Marc Abramowitz, 03/03/2013
-
Re: [freetds] Best way to get FreeTDS version?,
James K. Lowden, 03/02/2013
-
Re: [freetds] Best way to get FreeTDS version?,
Marc Abramowitz, 03/02/2013
-
Re: [freetds] Best way to get FreeTDS version?,
James K. Lowden, 03/01/2013
-
Re: [freetds] Best way to get FreeTDS version?,
Marc Abramowitz, 03/01/2013
-
Re: [freetds] Best way to get FreeTDS version?,
James K. Lowden, 03/01/2013
Archive powered by MHonArc 2.6.24.