[PVFS-developers] Reset eno in mgr ack

Rob Ross rross@mcs.anl.gov
Thu, 15 Jan 2004 11:16:18 -0600 (CST)


Good catch; applied in CVS.  Thanks!

Rob

On Mon, 15 Dec 2003, Porter Don wrote:

> In the pvfs manager code, there is a while loop which services requests.
> This reuses the same m_ack structure each time.  This is fine, except that
> the error number (eno) is not being reset to zero each time.  Thus, one can
> get a return status of 0 (success), with a left-over errno.  
> 
> In order to avoid confusion, it would be good to fix this behaviour.  It
> certainly can't hurt anything.  Attached is a patch against 1.6.2 which
> should correct this.
> 
> Thanks,
> Don Porter