summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2004-03-14 00:27:06 +0000
committerAndreas Gruenbacher <agruen@suse.de>2004-03-14 00:27:06 +0000
commit8f46c010e4a4e071f13d53e66c64d3db7d2520c6 (patch)
treee8db09046de05d07c56d9c0460e4b1955325da8b /lib
parent1c5441f25695ecd2a62a69e49ef664b9389f9957 (diff)
downloadquilt-8f46c010e4a4e071f13d53e66c64d3db7d2520c6.tar.gz
- Fix a bug in backup-files.c (introduced just before).
Diffstat (limited to 'lib')
-rw-r--r--lib/backup-files.c2
1 files changed, 1 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);