Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2008-09-29 21:03:49 +0400
committerCorinna Vinschen <corinna@vinschen.de>2008-09-29 21:03:49 +0400
commite7afe579f5f91c6a3065a13127284930b29a6296 (patch)
treef1796d31526e66a166c2846ec994cb3f0ce83541 /winsup/cygwin/flock.cc
parentfab8d8d808875dba5c290626b6d225cbe537ee00 (diff)
* flock.cc (inode_t::get_all_locks_list): Fix typo.
* posix.sgml: Add cfmakeraw to list of implemented BSD functions.
Diffstat (limited to 'winsup/cygwin/flock.cc')
-rw-r--r--winsup/cygwin/flock.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/flock.cc b/winsup/cygwin/flock.cc
index b69a30460..24907b674 100644
--- a/winsup/cygwin/flock.cc
+++ b/winsup/cygwin/flock.cc
@@ -500,7 +500,7 @@ inode_t::get_all_locks_list ()
|| ((flags & (F_FLOCK | F_POSIX)) == (F_FLOCK | F_POSIX)))
continue;
short type = wcstol (endptr + 1, &endptr, 16);
- if (type != (F_RDLCK && type != F_WRLCK) || !endptr || *endptr != L'-')
+ if ((type != F_RDLCK && type != F_WRLCK) || !endptr || *endptr != L'-')
continue;
_off64_t start = (_off64_t) wcstoull (endptr + 1, &endptr, 16);
if (start < 0 || !endptr || *endptr != L'-')