projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed configure option --with-hash-prefix and moved backup-prefix to profile
[mmh]
/
sbr
/
m_backup.c
diff --git
a/sbr/m_backup.c
b/sbr/m_backup.c
index
c34c409
..
4159850
100644
(file)
--- a/
sbr/m_backup.c
+++ b/
sbr/m_backup.c
@@
-18,10
+18,10
@@
m_backup (char *file)
if ((cp = r1bindex(file, '/')) == file)
snprintf(buffer, sizeof(buffer), "%s%s",
if ((cp = r1bindex(file, '/')) == file)
snprintf(buffer, sizeof(buffer), "%s%s",
- BACKUP_PREFIX, cp);
+ backup_prefix, cp);
else
snprintf(buffer, sizeof(buffer), "%.*s%s%s", (int)(cp - file), file,
else
snprintf(buffer, sizeof(buffer), "%.*s%s%s", (int)(cp - file), file,
- BACKUP_PREFIX, cp);
+ backup_prefix, cp);
unlink(buffer);
return buffer;
unlink(buffer);
return buffer;