From a784556464de8d720f53146ed5f17c3188c76710 Mon Sep 17 00:00:00 2001 From: Xavier Chantry Date: Sat, 20 Dec 2008 06:51:59 +0100 Subject: [PATCH] Log commandline This implements FS#11452 Original-work-by: silvio Signed-off-by: Xavier Chantry --- src/pacman/pacman.c | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 2897f86..301c3eb 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -926,6 +926,29 @@ static int parseconfig(const char *file) return(_parseconfig(file, NULL, NULL)); } +/** print commandline to logfile + */ +static void cl_to_log(int argc, char* argv[]) +{ + size_t size = 0; + int i; + for(i = 0; iop) { case PM_OP_REMOVE: -- 1.6.4