[BACK]Return to miofile.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / aucat

Diff for /src/usr.bin/aucat/Attic/miofile.c between version 1.2 and 1.3

version 1.2, 2009/09/27 11:51:20 version 1.3, 2009/11/05 08:36:48
Line 72 
Line 72 
         hdl = mio_open(path, mode, 1);          hdl = mio_open(path, mode, 1);
         if (hdl == NULL)          if (hdl == NULL)
                 return NULL;                  return NULL;
         f = (struct miofile *)file_new(ops, "hdl", mio_nfds(hdl));          if (path == NULL)
                   path = "default";
           f = (struct miofile *)file_new(ops, path, mio_nfds(hdl));
         if (f == NULL)          if (f == NULL)
                 goto bad_close;                  goto bad_close;
         f->hdl = hdl;          f->hdl = hdl;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3