tags 625407 +patch
thanks
I have attatched a patch which both fixes the build failure and makes
debian/rules clean work properly.
diff -ur rdup-1.0.5/debian/rules rdup-1.0.5.new/debian/rules
--- rdup-1.0.5/debian/rules 2011-11-01 01:08:49.000000000 +0000
+++ rdup-1.0.5.new/debian/rules 2011-11-01 01:17:13.000000000 +0000
@@ -47,7 +47,22 @@
rm -f build-arch-stamp build-indep-stamp CONFIGURE-STAMP
[ ! -f Makefile ] || $(MAKE) distclean
-
+ #clean up remaining cruft manually
+ rm -f *.o
+ rm -f rdup
+ rm -f rdup-up
+ rm -f doc/*.1
+ rm -f GNUmakefile
+ rm -f po/GNUmakefile
+ rm -f rdup.h
+ rm -f rdup-tr
+ rm -f config.h
+ rm -f config.log
+ rm -f config.status
+ rm -f rdup-tr.h
+ rm -f rdup-up.h
+ rm -f sh/rdup-simple
+
dh_clean
install: install-indep install-arch
diff -ur rdup-1.0.5/rdup-tr.c rdup-1.0.5.new/rdup-tr.c
--- rdup-1.0.5/rdup-tr.c 2010-01-24 18:05:45.000000000 +0000
+++ rdup-1.0.5.new/rdup-tr.c 2011-11-01 01:07:59.000000000 +0000
@@ -42,12 +42,11 @@
static struct r_entry *
crypt_entry(struct r_entry *e, GHashTable *tr)
{
- gchar *crypt, *dest, p;
+ gchar *crypt, *dest;
struct r_entry *d = entry_dup(e);
/* links are special */
if (S_ISLNK(d->f_mode) || d->f_lnk == 1) {
- p = *(d->f_name + d->f_size);
d->f_name[d->f_size] = '\0';
crypt = crypt_path(aes_ctx, d->f_name, tr);
dest = crypt_path(aes_ctx, d->f_name + d->f_size + 4, tr);
@@ -70,12 +69,11 @@
static struct r_entry *
decrypt_entry(struct r_entry *e, GHashTable *tr)
{
- gchar *plain, *dest, p;
+ gchar *plain, *dest;
struct r_entry *d = entry_dup(e);
/* links are special */
if (S_ISLNK(d->f_mode) || d->f_lnk == 1) {
- p = *(d->f_name + d->f_size);
d->f_name[d->f_size] = '\0';
plain = decrypt_path(aes_ctx, d->f_name, tr);
dest = decrypt_path(aes_ctx, d->f_name + d->f_size + 4, tr);