diff options
author | Gerald Carter <jerry@samba.org> | 2006-01-23 22:02:52 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:06:13 -0500 |
commit | 19907887fcc1fa96f947298da752f410eb23ad1e (patch) | |
tree | 08e1be2dbe15a6cc3ba7dcf1940ef89bfffa063a /source3/lib | |
parent | bdc6f05af5419d7ade6d944789abcd0abc4a4ebd (diff) | |
download | samba-19907887fcc1fa96f947298da752f410eb23ad1e.tar.gz samba-19907887fcc1fa96f947298da752f410eb23ad1e.tar.bz2 samba-19907887fcc1fa96f947298da752f410eb23ad1e.zip |
r13093: adding vendor patch level string as announced on samba-technical ml
(This used to be commit d40f06018b9197c35a10cc9ab284dd596244f47b)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/version.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/lib/version.c b/source3/lib/version.c index 99f836c2d5..3bd8304012 100644 --- a/source3/lib/version.c +++ b/source3/lib/version.c @@ -27,6 +27,7 @@ const char *samba_version_string(void) return SAMBA_VERSION_OFFICIAL_STRING; #else static fstring samba_version; + fstring tmp_version; static BOOL init_samba_version; if (init_samba_version) @@ -36,6 +37,11 @@ const char *samba_version_string(void) SAMBA_VERSION_OFFICIAL_STRING, SAMBA_VERSION_VENDOR_SUFFIX); +#ifdef SAMBA_VENDOR_PATCH + fstr_sprintf( tmp_version, "-%d", SAMBA_VENDOR_PATCH ); + fstrcat( samba_version, tmp_version ); +#endif + init_samba_version = True; return samba_version; #endif |