Danek Duvall wrote: > Bart ran into this -- the directory we create to cache the installed state > of a package is assumed to be consistent with reality if it exists, but we > create it empty on doing a refresh if it doesn't exist, leading pkg list to > say that no packages are installed. > > This changes refresh to always create and populate the directory if it > doesn't exist, or is empty. > > http://cr.opensolaris.org/~dduvall/pkg-bug4412/ > > Thanks, > Danek > Just to double check my understanding, you return if e.errno == EEXIST because that means the directory wasn't empty, correct? If so, then this looks good to me.
Brock > _______________________________________________ > pkg-discuss mailing list > [email protected] > http://mail.opensolaris.org/mailman/listinfo/pkg-discuss > _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
