summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/backup-files.c2
-rw-r--r--quilt.changes1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/backup-files.c b/lib/backup-files.c
index 15fce90..462ce4f 100644
--- a/lib/backup-files.c
+++ b/lib/backup-files.c
@@ -179,7 +179,7 @@ ensure_nolinks(const char *filename)
c = tmpname;
else
c++;
- memmove(c + 1, c, strlen(c));
+ memmove(c + 1, c, strlen(c) + 1);
*c = '.';
to_fd = mkstemp(tmpname);
diff --git a/quilt.changes b/quilt.changes
index 6959a96..e444b7d 100644
--- a/quilt.changes
+++ b/quilt.changes
@@ -3,6 +3,7 @@ Sun Mar 14 00:39:46 CET 2004 - agruen@suse.de
- Change `quilt import' to allow importing multiple patches
at once.
+- Fix a bug in backup-files.c (introduced just before).
- Update to version 0.32.
-------------------------------------------------------------------