summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar aeb 2001-06-27 12:14:20 +0000
committerGravatar aeb 2001-06-27 12:14:20 +0000
commitb0804b836ef473112a3cf7c5391cd47180be1beb (patch)
treec77b5a5cf8e7a9d589f9c0865443306fa18a8aa6
parentdebian: Let postinst continue even if input is /dev/null. (diff)
Fix wrong error mapping in raw1394_error_to_errno() on local transactions.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@70 53a565d1-3bb7-0310-b661-cf11e63c67ab
-rw-r--r--NEWS1
-rw-r--r--src/errors.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index d659e80..9b33344 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
- add sendiso and dumpiso tools with man files
+- fix wrong error mapping on local transactions in raw1394_errcode_to_errno().
Version 0.9:
diff --git a/src/errors.c b/src/errors.c
index 8f5b5a4..08ce425 100644
--- a/src/errors.c
+++ b/src/errors.c
@@ -61,7 +61,8 @@ int raw1394_errcode_to_errno(raw1394_errcode_t errcode)
};
if (!raw1394_internal_err(errcode)) {
- if (raw1394_get_ack(errcode) == L1394_ACK_PENDING)
+ if (raw1394_get_ack(errcode) == 0x10
+ || raw1394_get_ack(errcode) == L1394_ACK_PENDING)
return rcode2errno[raw1394_get_rcode(errcode)];
else
return ack2errno[raw1394_get_ack(errcode)];
an title='2003-01-15 13:14:47 +0000'>2003-01-15add iso_xmit_sync() and iso_xmit_write(); clean up iso handling a bitGravatar dmaas 5-39/+161 2003-01-15implement tag matching for rawiso receptionGravatar dmaas 3-4/+12 2003-01-06back out previous commit - don't drop the legacy API just yetGravatar dmaas 6-173/+130 2003-01-05emulate legacy ISO reception API on top of new rawiso APIGravatar dmaas 7-131/+174 2002-12-24update iso API for multi-channel reception and new packet buffer layoutGravatar dmaas 4-123/+236 2002-12-20oops, irq_interval needs to be signedGravatar anonymous 1-1/+1 2002-12-20dmaas - renamed exported arm definitions into the raw1394_ namespace; brought...Gravatar anonymous 3-124/+48 2002-12-16rawiso updates:Gravatar dmaas 3-18/+25 2002-11-18fix cplusplus extern C blockGravatar ddennedy 1-4/+4 2002-11-18merged rawiso branchGravatar ddennedy 7-6/+488