LJ Archive
*** linux/drivers/char/pcwd.c-dist      Thu Aug 29 09:15:14 1996
--- linux/drivers/char/pcwd.c   Wed Jan 22 14:25:08 1997
***************
*** 240,245 ****
--- 240,246 ----

        MOD_INC_USE_COUNT;
        is_eof = 0;
+       is_open = 1;
        return(0);
  }

***************
*** 249,254 ****
--- 250,256 ----
        printk("pcwd: close request\n");
  #endif

+       is_open = 0;
        MOD_DEC_USE_COUNT;
  }
LJ Archive