[pacman-dev] [PATCH] Remove incorrect documentation for unlink_file
Signed-off-by: Allan McRae <allan@archlinux.org> --- lib/libalpm/remove.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c index d1020a6..dafbe28 100644 --- a/lib/libalpm/remove.c +++ b/lib/libalpm/remove.c @@ -302,10 +302,6 @@ static int can_remove_file(alpm_handle_t *handle, const alpm_file_t *file, /** * @brief Unlink a package file, backing it up if necessary. * - * @note Helper function for iterating through a package's file and deleting - * them. - * @note Used by _alpm_remove_commit. - * * @param handle the context handle * @param oldpkg the package being removed * @param newpkg the package replacing \a oldpkg -- 1.7.11.4
Signed-off-by: Allan McRae <allan@archlinux.org> --- lib/libalpm/trans.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c index 08f70dd..0ba24ff 100644 --- a/lib/libalpm/trans.c +++ b/lib/libalpm/trans.c @@ -163,7 +163,7 @@ int SYMEXPORT alpm_trans_commit(alpm_handle_t *handle, alpm_list_t **data) if(trans->add == NULL) { if(_alpm_remove_packages(handle, 1) == -1) { - /* pm_errno is set by _alpm_remove_commit() */ + /* pm_errno is set by _alpm_remove_packages() */ return -1; } } else { -- 1.7.11.4
participants (1)
-
Allan McRae