Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD master CVS tree commits



cgd
Fri Jan 24 17:13:45 PST 1997
Update of /cvsroot/src/sys/lib/libsa
In directory netbsd1:/var/slash-tmp/cvs-serv23201

Modified Files:
        open.c 
Log Message:
Change file system file-open semantics slightly: if file system returns
EINVAL, that error code is ignored, leaving whatever other meaningful
error code that might have previously been returned intact.  Stand-alone
file system implementations return EINVAL typically when the file system
is not recognized (i.e. cd9660_open on a UFS file system, ufs_open on a
cd9660 file system, etc.).  This meant that if you had multiple file
systems in a file system switch, the first returned ENOENT (because
it recognized the file system type, but the file wasn't there) and
the second returned EINVAL (because it didn't recognize the file system
type), errno would be set to EINVAL.  Now it'll be set to ENOENT.

It would probably make sense to have file systems return a special
error code to indicate "this file system is unrecognized," which
could then be special-cased, but that's a fair bit more invasive.


cgd
Fri Jan 24 17:16:53 PST 1997
Update of /cvsroot/src/sys/arch/alpha/tc
In directory netbsd1:/var/slash-tmp/cvs-serv24993

Modified Files:
      Tag: alpha-nwscons
        cfb.c sfb.c 
Log Message:
note that these drivers need to be converted to use the new wscons interfaces



Home | Main Index | Thread Index | Old Index