projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4235e9a
)
another quick OS X Lion gcc suggestion
author
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 2 May 2012 20:33:39 +0000
(20:33 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 2 May 2012 20:33:39 +0000
(20:33 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@12149
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/pbd/crossthread.cc
patch
|
blob
|
history
diff --git
a/libs/pbd/crossthread.cc
b/libs/pbd/crossthread.cc
index 553c8d52f3369ee3df67d4723ac53ff041b5c2b1..2ffede5163aecc736372818fd82ddb934b2d8d42 100644
(file)
--- a/
libs/pbd/crossthread.cc
+++ b/
libs/pbd/crossthread.cc
@@
-104,7
+104,7
@@
CrossThreadChannel::drain (int fd)
{
/* drain selectable fd */
char buf[64];
- while (::read (fd, buf, sizeof (buf)) > 0);
+ while (::read (fd, buf, sizeof (buf)) > 0)
{}
;
}
int