From 4d6c6678c1d1dfb438eb2d1e292c908be3483eb7 Mon Sep 17 00:00:00 2001 From: Matthias Ruester Date: Thu, 16 Aug 2012 13:00:42 +0200 Subject: [PATCH 1/3] bee-cache-inventory: fix function _strip_trailing --- src/bee-cache-inventory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bee-cache-inventory.c b/src/bee-cache-inventory.c index 588f3c5..fe718cb 100644 --- a/src/bee-cache-inventory.c +++ b/src/bee-cache-inventory.c @@ -433,7 +433,7 @@ static void _strip_trailing(char *in, char c) len = strlen(in); p = in+len-1; - while (p > in && *p == '/') + while (p > in && *p == c) *(p--) = 0; } From 7158f911e50e3aaee6299d07c5b2151de203000b Mon Sep 17 00:00:00 2001 From: Matthias Ruester Date: Fri, 17 Aug 2012 09:34:40 +0200 Subject: [PATCH 2/3] repository: fix modes of compat scripts --- src/compat-filesfile2contentfile.sh.in | 0 src/compat-fixmetadir.sh.in | 0 2 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 src/compat-filesfile2contentfile.sh.in mode change 100755 => 100644 src/compat-fixmetadir.sh.in diff --git a/src/compat-filesfile2contentfile.sh.in b/src/compat-filesfile2contentfile.sh.in old mode 100755 new mode 100644 diff --git a/src/compat-fixmetadir.sh.in b/src/compat-fixmetadir.sh.in old mode 100755 new mode 100644 From 37a0c44ae66e3fc372268e7a3d53eef3d2446723 Mon Sep 17 00:00:00 2001 From: Matthias Ruester Date: Mon, 20 Aug 2012 20:10:24 +0200 Subject: [PATCH 3/3] beelib: fix expansion of SHAREDSTATEDIR variable --- src/beelib.config.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/beelib.config.sh.in b/src/beelib.config.sh.in index 1cd1586..36eb605 100644 --- a/src/beelib.config.sh.in +++ b/src/beelib.config.sh.in @@ -334,7 +334,7 @@ function expand_prefix_variables() { expand_prefix_variables_defaults BEE_AUTO_EXCLUDE="" for var in PREFIX EPREFIX BINDIR SBINDIR LIBEXECDIR SYSCONFDIR \ - SHAREDSTATEDIR LOCALSTATEDIR LIBDIR INCLUDEDIR \ + LOCALSTATEDIR SHAREDSTATEDIR LIBDIR INCLUDEDIR \ DATAROOTDIR DATADIR INFODIR LOCALEDIR MANDIR DOCDIR ; do eval eval ${var}=\${${var}} eval 'BEE_AUTO_EXCLUDE=( "${BEE_AUTO_EXCLUDE[@]}" \${${var}} )'