projects
/
debian
/
amanda
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'upstream'
[debian/amanda]
/
common-src
/
amflock.c
diff --git
a/common-src/amflock.c
b/common-src/amflock.c
index c10599683681a8068ff14bfab5a4f1bcd5fa4c3e..2b012e360ec3afc9848196a3675c7bbca34ebe6f 100644
(file)
--- a/
common-src/amflock.c
+++ b/
common-src/amflock.c
@@
-90,7
+90,7
@@
amflock_impl_t *amflock_impls[] = {
/* FIXME: for now, these just use the first non-NULL implementation
*/
/* FIXME: for now, these just use the first non-NULL implementation
*/
-/*
Get a file lock (for read/write files)
.
+/*
Locking using existance of a file
.
*/
int
amflock(
*/
int
amflock(
@@
-100,6
+100,8
@@
amflock(
if (!amflock_impls[0]) return 0; /* no locking */
return amflock_impls[0]->amflock_impl(fd, resource);
}
if (!amflock_impls[0]) return 0; /* no locking */
return amflock_impls[0]->amflock_impl(fd, resource);
}
+#endif
+
/*
* Get a file lock (for read-only files).
/*
* Get a file lock (for read-only files).