[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 14/36: Fix gcc warning
From: |
Samuel Thibault |
Subject: |
[hurd] 14/36: Fix gcc warning |
Date: |
Tue, 24 Sep 2013 12:31:15 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit 7e67095c3c80e733b2a62eaba85609e489fee82d
Author: Samuel Thibault <address@hidden>
Date: Sat Sep 21 13:35:32 2013 +0200
Fix gcc warning
* term/users.c (trivfs_S_io_read): Add parentheses to make expression
evaluation priority clear.
---
term/users.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/term/users.c b/term/users.c
index 09df9ab..9d745c6 100644
--- a/term/users.c
+++ b/term/users.c
@@ -679,7 +679,7 @@ trivfs_S_io_read (struct trivfs_protid *cred,
while (!qsize (inputq))
{
- if ((termflags & NO_CARRIER) && !(termstate.c_cflag & CLOCAL) || !amount)
+ if (((termflags & NO_CARRIER) && !(termstate.c_cflag & CLOCAL)) ||
!amount)
{
/* Return EOF, Posix.1 7.1.1.10. */
pthread_mutex_unlock (&global_lock);
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] 05/36: hurd: add _reply suffix to the routines in fsys_reply.defs, (continued)
- [hurd] 05/36: hurd: add _reply suffix to the routines in fsys_reply.defs, Samuel Thibault, 2013/09/24
- [hurd] 06/36: Fix gcc warning, Samuel Thibault, 2013/09/24
- [hurd] 10/36: Fix gcc warning, Samuel Thibault, 2013/09/24
- [hurd] 09/36: Fix gcc warning, Samuel Thibault, 2013/09/24
- [hurd] 20/36: Properly return error, Samuel Thibault, 2013/09/24
- [hurd] 19/36: Fix gcc warning, Samuel Thibault, 2013/09/24
- [hurd] 15/36: Fix setting modem control lines, Samuel Thibault, 2013/09/24
- [hurd] 22/36: Rename SOCK_* into PFLOCAL_SOCK_*, Samuel Thibault, 2013/09/24
- [hurd] 13/36: Fix S_tioctl_tiocsetd returning errors, Samuel Thibault, 2013/09/24
- [hurd] 11/36: Fix gcc warning, Samuel Thibault, 2013/09/24
- [hurd] 14/36: Fix gcc warning,
Samuel Thibault <=
- [hurd] 25/36: Fix gcc warning, Samuel Thibault, 2013/09/24
- [hurd] 08/36: Fix ENOMEM handling in *_make_peropen, Samuel Thibault, 2013/09/24
- [hurd] 31/36: Merge remote-tracking branch 'upstream/master' into upstream, Samuel Thibault, 2013/09/24
- [hurd] 07/36: Fix gcc warning:, Samuel Thibault, 2013/09/24
- [hurd] 35/36: Merge remote-tracking branch 'upstream/master' into upstream, Samuel Thibault, 2013/09/24
- [hurd] 34/36: Drop dead links, Samuel Thibault, 2013/09/24
- [hurd] 16/36: Fix gcc warning, Samuel Thibault, 2013/09/24
- [hurd] 32/36: Fix missing renames, Samuel Thibault, 2013/09/24
- [hurd] 29/36: Fix spurious port deallocation, Samuel Thibault, 2013/09/24
- [hurd] 30/36: Add --without-daemon option to configure, Samuel Thibault, 2013/09/24