From c88ac86292a9cd9b87ab9ebf203b9eca75af1f28 Mon Sep 17 00:00:00 2001 From: Xavier Chantry Date: Sat, 20 Dec 2008 06:51:59 +0100 Subject: Log commandline in pacman/alpm log This implements FS#11452. Original-work-by: silvio Signed-off-by: Xavier Chantry Signed-off-by: Dan McGee --- src/pacman/pacman.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'src') diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 6e5147c5..37472083 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -957,6 +957,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: -- cgit v1.2.3-70-g09d2