1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 <2007> 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 <2007> 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Asyn/VXI-11 problems |
From: | Andrew Johnson <[email protected]> |
To: | Eric Norum <[email protected]> |
Cc: | TECHTALK tech-talk <[email protected]> |
Date: | Fri, 21 Sep 2007 09:52:54 -0500 |
which leads to pseudo errors; errno should be checked only if the return value is abnormal. It should be just
if(stat!=RPC_SUCCESS) { /* error handling */ }
Both the places where this code appears are preceded by assignments of 0 to errno. The fact that this was done makes me think that the code was placed there for a reason. There appear to be several substandard versions of RPC libraries out there.
- Andrew -- When a distinguished but elderly scientist states that something is possible, he is almost certainly right. When he states that something is impossible, he is very probably wrong. -- Arthur C. Clarke