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: "Ned Ludd (solar)" <solar@g.o>
Subject: gentoo-projects commit in portage-utils: qlist.c
Date: Fri, 17 Apr 2009 15:01:20 +0000
solar       09/04/17 15:01:20

  Modified:             qlist.c
  Log:
  - handle +IUSE flags in qlist -U display

Revision  Changes    Path
1.52                 portage-utils/qlist.c

file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/portage-utils/qlist.c?rev=1.52&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/portage-utils/qlist.c?rev=1.52&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/portage-utils/qlist.c?r1=1.51&r2=1.52

Index: qlist.c
===================================================================
RCS file: /var/cvsroot/gentoo-projects/portage-utils/qlist.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- qlist.c	16 Mar 2009 01:42:36 -0000	1.51
+++ qlist.c	17 Apr 2009 15:01:20 -0000	1.52
@@ -1,7 +1,7 @@
 /*
  * Copyright 2005-2007 Gentoo Foundation
  * Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/portage-utils/qlist.c,v 1.51 2009/03/16 01:42:36 solar Exp $
+ * $Header: /var/cvsroot/gentoo-projects/portage-utils/qlist.c,v 1.52 2009/04/17 15:01:20 solar Exp $
  *
  * Copyright 2005-2007 Ned Ludd        - <solar@g.o>
  * Copyright 2005-2007 Mike Frysinger  - <vapier@g.o>
@@ -39,7 +39,7 @@
 	/* "query filename for pkgname", */
 	COMMON_OPTS_HELP
 };
-static const char qlist_rcsid[] = "$Id: qlist.c,v 1.51 2009/03/16 01:42:36 solar Exp $";
+static const char qlist_rcsid[] = "$Id: qlist.c,v 1.52 2009/04/17 15:01:20 solar 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 *);
@@ -83,6 +83,8 @@
 	/* grab_vdb is a static function so save it to memory right away */
 	makeargv(use, &use_argc, &use_argv);
 	if ((iuse = grab_vdb_item("IUSE", CAT, PV)) != NULL) {
+		for (i = 0; i < strlen(iuse); i++)
+			if (iuse[i] == '+') iuse[i] = ' ';
 		makeargv(iuse, &iuse_argc, &iuse_argv);
 		for (u = 1; u < use_argc; u++) {
 			for (i = 1; i < iuse_argc; i++) {





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-projects commit in portage-utils: qlist.c
Previous by date:
gentoo-x86 commit in app-emulation/libvirt: metadata.xml ChangeLog libvirt-0.6.2.ebuild
Next by date:
gentoo-x86 commit in profiles: use.local.desc


Updated Sep 22, 2011

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

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