Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Mike Frysinger (vapier)" <vapier@g.o>
Subject: gentoo-projects commit in portage-utils: qlist.c
Date: Wed, 2 Mar 2011 08:13:46 +0000 (UTC)
vapier      11/03/02 08:13:46

  Modified:             qlist.c
  Log:
  have just one call to printf rather than printf/puts

Revision  Changes    Path
1.62                 portage-utils/qlist.c

file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/qlist.c?rev=1.62&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/qlist.c?rev=1.62&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/qlist.c?r1=1.61&r2=1.62

Index: qlist.c
===================================================================
RCS file: /var/cvsroot/gentoo-projects/portage-utils/qlist.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- qlist.c	1 Mar 2011 05:17:13 -0000	1.61
+++ qlist.c	2 Mar 2011 08:13:46 -0000	1.62
@@ -1,7 +1,7 @@
 /*
  * Copyright 2005-2010 Gentoo Foundation
  * Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/portage-utils/qlist.c,v 1.61 2011/03/01 05:17:13 vapier Exp $
+ * $Header: /var/cvsroot/gentoo-projects/portage-utils/qlist.c,v 1.62 2011/03/02 08:13:46 vapier Exp $
  *
  * Copyright 2005-2010 Ned Ludd        - <solar@g.o>
  * Copyright 2005-2010 Mike Frysinger  - <vapier@g.o>
@@ -41,7 +41,7 @@
 	/* "query filename for pkgname", */
 	COMMON_OPTS_HELP
 };
-static const char qlist_rcsid[] = "$Id: qlist.c,v 1.61 2011/03/01 05:17:13 vapier Exp $";
+static const char qlist_rcsid[] = "$Id: qlist.c,v 1.62 2011/03/02 08:13:46 vapier Exp $";
 #define qlist_usage(ret) usage(ret, QLIST_FLAGS, qlist_long_opts, qlist_opts_help, lookup_applet_idx("qlist"))
 
 extern char *grab_vdb_item(const char *, const char *, const char *);
@@ -270,11 +270,11 @@
 						slot = grab_vdb_item("SLOT", cat[j]->d_name, de[x]->d_name);
 
 					/* display it */
-					printf("%s%s/%s%s%s%s%s%s%s%s%s", BOLD, cat[j]->d_name, BLUE,
-					       (!columns ? (pkgname ? pkgname->PN : de[x]->d_name) : pkgname->PN),
+					printf("%s%s/%s%s%s%s%s%s%s%s%s%s\n", BOLD, cat[j]->d_name, BLUE,
+						(!columns ? (pkgname ? pkgname->PN : de[x]->d_name) : pkgname->PN),
 						(columns ? " " : ""), (columns ? pkgname->PV : ""),
-						NORM, YELLOW, slot ? slot_separator : "", slot ? slot : "", NORM);
-					puts(umapstr(show_umap, cat[j]->d_name, de[x]->d_name));
+						NORM, YELLOW, slot ? slot_separator : "", slot ? slot : "", NORM,
+						umapstr(show_umap, cat[j]->d_name, de[x]->d_name));
 				}
 				if (pkgname)
 					atom_implode(pkgname);





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-projects commit in portage-utils: qlist.c
Next by thread:
gentoo-x86 commit in x11-libs/libX11: ChangeLog libX11-1.1.3.ebuild
Previous by date:
gentoo-projects commit in portage-utils/libq: xmkdir.c
Next by date:
gentoo commit in xml/htdocs/doc/en: openrc-migration.xml


Updated Jun 26, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.