summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2006-01-09 16:59:12 +0000
committerPierre Ossman <ossman@cendio.se>2006-01-09 16:59:12 +0000
commitd3cb1448b4765705ed14aee5b40b87459a4e302d (patch)
tree09018d18524f15a39130d67c7183ea8d32dd9c5f
parent160d886c0d8f783765d06662d87c01a3603e1c4c (diff)
Update comment for pa_lock_fd() to reflect that locks are mandatory
on Windows. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@431 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r--polyp/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/polyp/util.c b/polyp/util.c
index b2f61d57..569412d0 100644
--- a/polyp/util.c
+++ b/polyp/util.c
@@ -810,7 +810,8 @@ int pa_uid_in_group(const char *name, gid_t *gid) {
#endif
-/* Lock or unlock a file entirely. (advisory) */
+/* Lock or unlock a file entirely.
+ (advisory on UNIX, mandatory on Windows) */
int pa_lock_fd(int fd, int b) {
#ifdef F_SETLKW
struct flock flock;