xbps_find_orphan_packages: change some comments.

--HG--
extra : convert_revision : 7e807567b387d683ba487cb4ae7b897e840ab730
This commit is contained in:
Juan RP 2009-08-14 07:33:01 +02:00
parent c462a3cf08
commit 74a7c643d6

View file

@ -123,8 +123,9 @@ xbps_find_orphan_packages(void)
if ((dict = xbps_prepare_regpkgdb_dict()) == NULL)
return NULL;
/*
* Find out all orphan packages by looking at the
* regpkgdb dictionary and we must do that in reverse order.
* Find out all orphans by looking at the
* regpkgdb dictionary and iterate in reverse order
* in which packages were installed.
*/
rv = xbps_callback_array_iter_reverse_in_dict(dict, "packages",
find_orphan_pkg, NULL);
@ -133,9 +134,7 @@ xbps_find_orphan_packages(void)
return NULL;
}
/*
* Prepare an array with all packages previously found. We
* do this in that way to do a reverse order in which the
* packages were installed.
* Prepare an array with all packages previously found.
*/
array = prop_array_create();
if (array == NULL) {