Thu Jul 25 19:53:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>

* vmsfunctions.c (vms_stat): `sys$dassgn (DevChan);' added by kkaempf.
This commit is contained in:
Roland McGrath 1996-07-26 00:05:34 +00:00
parent 64bdaa521f
commit 37fbc32ba4

View file

@ -195,6 +195,7 @@ vms_stat (name, buf)
status = sys$qiow(0,DevChan,IO$_ACCESS,&iosb,0,0,
&FibDesc,&FileName,0,0,&Atr,0);
sys$dassgn (DevChan);
if (!(status & 1))
return -1;
status = iosb[0];