diff options
author | bland <bland@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-01-07 11:26:51 +0800 |
---|---|---|
committer | bland <bland@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-01-07 11:26:51 +0800 |
commit | 0a871c9c2adc05318e3383603969d8d5ab7e03ff (patch) | |
tree | 04224b0d820a14a37e138ed1c47b4c6c913d7eaa /devel/libgtop2/files/patch-lib::write.c | |
parent | 70a98947a28581d563c393935a4add2578cf9da0 (diff) | |
download | marcuscom-ports-0a871c9c2adc05318e3383603969d8d5ab7e03ff.tar marcuscom-ports-0a871c9c2adc05318e3383603969d8d5ab7e03ff.tar.gz marcuscom-ports-0a871c9c2adc05318e3383603969d8d5ab7e03ff.tar.bz2 marcuscom-ports-0a871c9c2adc05318e3383603969d8d5ab7e03ff.tar.lz marcuscom-ports-0a871c9c2adc05318e3383603969d8d5ab7e03ff.tar.xz marcuscom-ports-0a871c9c2adc05318e3383603969d8d5ab7e03ff.tar.zst marcuscom-ports-0a871c9c2adc05318e3383603969d8d5ab7e03ff.zip |
Resolve 100% cpu usage issue.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1597 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/libgtop2/files/patch-lib::write.c')
-rw-r--r-- | devel/libgtop2/files/patch-lib::write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/libgtop2/files/patch-lib::write.c b/devel/libgtop2/files/patch-lib::write.c index ad879ecb4..45c2434ea 100644 --- a/devel/libgtop2/files/patch-lib::write.c +++ b/devel/libgtop2/files/patch-lib::write.c @@ -21,7 +21,7 @@ - if (ret < 0) + if (ret < 0) { -+ if (errno == EINTR || errno == EAGAIN) ++ if (errno == EINTR) + goto retry; glibtop_error_io_r (server, _("write %d bytes"), size); + } |