OSDN Git Service

* flock.cc (inode_t::get_all_locks_list): Fix typo.
authorcorinna <corinna>
Mon, 29 Sep 2008 17:03:48 +0000 (17:03 +0000)
committercorinna <corinna>
Mon, 29 Sep 2008 17:03:48 +0000 (17:03 +0000)
* posix.sgml: Add cfmakeraw to list of implemented BSD functions.

winsup/cygwin/ChangeLog
winsup/cygwin/flock.cc
winsup/cygwin/posix.sgml

index f280ce3..176c17a 100644 (file)
@@ -1,3 +1,8 @@
+2008-09-29  Corinna Vinschen  <corinna@vinschen.de>
+
+       * flock.cc (inode_t::get_all_locks_list): Fix typo.
+       * posix.sgml: Add cfmakeraw to list of implemented BSD functions.
+
 2008-09-19  Eric Blake  <ebb9@byu.net>
 
        * errno.cc (_sys_errlist): Add ECANCELED, ENOTRECOVERABLE,
index b69a304..24907b6 100644 (file)
@@ -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'-')
index ca9e0cf..707ac9c 100644 (file)
@@ -834,6 +834,7 @@ also ISO/IEC 9945:2003 and IEEE Std 1003.1-2001 (POSIX.1-2001).</para>
     alphasort
     bindresvport
     bindresvport_sa
+    cfmakeraw
     daemon
     dn_comp
     dn_expand