From d3cb1448b4765705ed14aee5b40b87459a4e302d Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 9 Jan 2006 16:59:12 +0000 Subject: 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 --- polyp/util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit