SHARE
TWEET

Untitled

a guest Feb 16th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. *** byterun/io.c.orig   Thu Dec  4 13:55:11 2008
  2. --- byterun/io.c    Thu Dec  4 13:55:29 2008
  3. ***************
  4. *** 479,484 ****
  5. --- 479,487 ----
  6.     struct channel * channel = Channel(vchannel);
  7.     if (channel->fd != -1){
  8.       result = close(channel->fd);
  9. +     /* Work around an NFS issue that causes close() to fails with EINVAL */
  10. +     if ((result < 0) && (errno == EINVAL))
  11. +       result = 0;
  12.       channel->fd = -1;
  13.     }else{
  14.       result = 0;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top