From 7d687b939d42f46b7493a3ea7ace83dd0aef4091 Mon Sep 17 00:00:00 2001 From: Christopher Harrison Date: Thu, 30 Jul 2015 11:05:34 +0100 Subject: Added fuse_pkgversion function Returns the full PACKAGE_VERSION string, per autoconf --- lib/helper.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/helper.c') diff --git a/lib/helper.c b/lib/helper.c index e5550c9..2690334 100644 --- a/lib/helper.c +++ b/lib/helper.c @@ -332,3 +332,7 @@ int fuse_version(void) return FUSE_VERSION; } +const char *fuse_pkgversion(void) +{ + return PACKAGE_VERSION; +} -- cgit v1.2.3 From 95e89c0c8aaf8a216fb3d0cab545d012b57fbba5 Mon Sep 17 00:00:00 2001 From: Christopher Harrison Date: Wed, 12 Aug 2015 14:55:13 +0100 Subject: Canonicalised whitespace and added ChangeLog entry --- ChangeLog | 5 +++++ lib/helper.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/helper.c') diff --git a/ChangeLog b/ChangeLog index 53a5bcc..4c0d87d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-08-12 Miklos Szeredi + + * libfuse: added fuse_pkgversion() function to retrieve the full + version string, per autoconf. Patch by Christopher Harrison + 2015-06-29 Miklos Szeredi * libfuse: fix possible memory leak. Reported by Jose R. Guzman diff --git a/lib/helper.c b/lib/helper.c index 2690334..bfdc990 100644 --- a/lib/helper.c +++ b/lib/helper.c @@ -334,5 +334,5 @@ int fuse_version(void) const char *fuse_pkgversion(void) { - return PACKAGE_VERSION; + return PACKAGE_VERSION; } -- cgit v1.2.3