Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Documentation: color.* = true means "auto"
[gitweb.git]
/
lockfile.c
diff --git
a/lockfile.c
b/lockfile.c
index 258fb3f5ef8636e7ff144f551689da3090518a0e..f45d3ed54454635b84cfe9b8c1e7d99d33ffd4d9 100644
(file)
--- a/
lockfile.c
+++ b/
lockfile.c
@@
-94,7
+94,7
@@
static char *resolve_symlink(char *p, size_t s)
return p;
}
- if (
link[0] == '/'
) {
+ if (
is_absolute_path(link)
) {
/* absolute path simply replaces p */
if (link_len < s)
strcpy(p, link);