Abhinandan Ekande wrote:

> >t_pkgrepo.py:
> >
> >   - line 1372: We only test both because the OS happens to test for the
> >     EINVAL condition before the EEXIST condition.  It could go the other
> >     way around, and then we'd only be testing the EEXIST condition.
> 
> If multiple versions exists in repository for a package and if "pkgrepo
> remove" is executed from package directory, then first error always will
> be EINVAL.

Is that dictated by anything other than the current implementation of the
VFS or filesystem code?  I don't know why you can rely on that.

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to