diff options
author | Anatol Pomozov | 2016-05-24 13:28:42 -0700 |
---|---|---|
committer | Anatol Pomozov | 2016-05-24 13:28:42 -0700 |
commit | e4cfb4ac85c9ecc639f04c9c03bc277ee94e9b13 (patch) | |
tree | fb42868d94ccecb5e859b183be2931139569dfed /remove-duplicated-check.patch | |
parent | cad68cb4c16d1de42935b9f23e70179cb815d785 (diff) | |
download | aur-e4cfb4ac85c9ecc639f04c9c03bc277ee94e9b13.tar.gz |
updpkg, add dependency to ec3po library
Diffstat (limited to 'remove-duplicated-check.patch')
-rw-r--r-- | remove-duplicated-check.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/remove-duplicated-check.patch b/remove-duplicated-check.patch new file mode 100644 index 000000000000..427a8b90fdc4 --- /dev/null +++ b/remove-duplicated-check.patch @@ -0,0 +1,13 @@ +diff --git a/lib/ftdiuart.c b/lib/ftdiuart.c +index 7d1054c..0620dd1 100644 +--- a/lib/ftdiuart.c ++++ b/lib/ftdiuart.c +@@ -359,7 +359,7 @@ static int fuart_wr_rd_locked(struct fuart_context *fuartc) { + rd_buf += bytes; + bytes_remaining -= bytes; + } +- if ((bytes == -1) && ((errno == EAGAIN) || (errno == EWOULDBLOCK)) && ++ if ((bytes == -1) && (errno == EAGAIN) && + (retries < 10)) { + retries++; + goto retry_write; |