[pacman-dev] 'pacman -T' is missing new lines after each package name.
This only effects git (not =<3.04), 'pacman -T foo bar' returns 'foobar' instead of foo bar Patch attached. Andrew
From ed327c818edd159dcd7c3d315f9fa52363e1a52f Mon Sep 17 00:00:00 2001 From: Andrew Fyfe <andrew@neptune-one.net> Date: Fri, 25 May 2007 00:37:42 +0100 Subject: [PATCH] Add missing new line to 'pacman -T' output.
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> --- src/pacman/deptest.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/pacman/deptest.c b/src/pacman/deptest.c index 933f938..264ba1c 100644 --- a/src/pacman/deptest.c +++ b/src/pacman/deptest.c @@ -78,7 +78,7 @@ int pacman_deptest(alpm_list_t *targets) } if(!found) { - printf("%s", saved_target); + printf("%s\n", saved_target); retval = 1; } free(saved_target); -- 1.5.1.3
On 5/24/07, Andrew Fyfe <andrew@neptune-one.net> wrote:
This only effects git (not =<3.04), 'pacman -T foo bar' returns 'foobar' instead of
foo bar
Patch attached.
Applied locally and pushed to archlinux.org tree.
On 5/24/07, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
On 5/24/07, Andrew Fyfe <andrew@neptune-one.net> wrote:
This only effects git (not =<3.04), 'pacman -T foo bar' returns 'foobar' instead of
foo bar
Patch attached.
Applied locally and pushed to archlinux.org tree.
Whoops, forgot to say "thanks alot!"
participants (2)
-
Aaron Griffin
-
Andrew Fyfe