diff options
author | Ned Ludd <solar@gentoo.org> | 2005-10-29 09:28:46 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2005-10-29 09:28:46 +0000 |
commit | a45ef80c54cc8a4487da2bcbbc64db3d00a43991 (patch) | |
tree | 5243454c4a47fd7d6f36cd3142652d962d30de02 | |
parent | - keep the color layout of the old qpkg --list PN when -vvdose passed (diff) | |
download | portage-utils-a45ef80c54cc8a4487da2bcbbc64db3d00a43991.tar.gz portage-utils-a45ef80c54cc8a4487da2bcbbc64db3d00a43991.tar.bz2 portage-utils-a45ef80c54cc8a4487da2bcbbc64db3d00a43991.zip |
update README now that most relative links work
-rw-r--r-- | README | 8 | ||||
-rw-r--r-- | libq/libq.c | 3 | ||||
-rw-r--r-- | libq/virtuals.c | 6 | ||||
-rw-r--r-- | qdepends.c | 5 |
4 files changed, 8 insertions, 14 deletions
@@ -4,16 +4,10 @@ vapier@gentoo.org /* Add notes here */ -- relative qfile doesnt quite work: - $ cd /bin - $ qfile bash - app-shells/bash (/bin/bash) - app-shells/bash (/etc/bash) +disable color when tty = NULL; may break less? - multiline reads don't yet work for quse/qsearch -- quse needs a rewrite. - - Speed is everything. Having your PORTDIR and VDB on the right file system helps dramatically diff --git a/libq/libq.c b/libq/libq.c index ea598429..d7a1e29a 100644 --- a/libq/libq.c +++ b/libq/libq.c @@ -16,5 +16,4 @@ /* custom libs */ #include "atom_explode.c" -// #include "queue.c" -// #include "virtuals.c" +#include "virtuals.c" diff --git a/libq/virtuals.c b/libq/virtuals.c index 7cb904f5..599d755a 100644 --- a/libq/virtuals.c +++ b/libq/virtuals.c @@ -1,12 +1,12 @@ /* * Copyright 2005 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 - * $Header: /var/cvsroot/gentoo-projects/portage-utils/libq/virtuals.c,v 1.3 2005/10/29 07:34:38 solar Exp $ + * $Header: /var/cvsroot/gentoo-projects/portage-utils/libq/virtuals.c,v 1.4 2005/10/29 09:28:46 solar Exp $ * * Copyright 2005 Ned Ludd - <solar@gentoo.org> * Copyright 2005 Mike Frysinger - <vapier@gentoo.org> * - * $Header: /var/cvsroot/gentoo-projects/portage-utils/libq/virtuals.c,v 1.3 2005/10/29 07:34:38 solar Exp $ + * $Header: /var/cvsroot/gentoo-projects/portage-utils/libq/virtuals.c,v 1.4 2005/10/29 09:28:46 solar Exp $ */ #include <stdio.h> @@ -46,7 +46,6 @@ queue *add_set(char *vv, char *ss, queue *q) v = xstrdup(vv); ptr = xmalloc(strlen(ss)); vptr = xmalloc(strlen(vv)); - do { *ptr = 0; @@ -70,7 +69,6 @@ queue *add_set(char *vv, char *ss, queue *q) while (z->next != NULL) z = z->next; z->next = ll; - } *v = 0; @@ -1,7 +1,7 @@ /* * Copyright 2005 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 - * $Header: /var/cvsroot/gentoo-projects/portage-utils/qdepends.c,v 1.19 2005/10/29 06:10:01 solar Exp $ + * $Header: /var/cvsroot/gentoo-projects/portage-utils/qdepends.c,v 1.20 2005/10/29 09:28:46 solar Exp $ * * Copyright 2005 Ned Ludd - <solar@gentoo.org> * Copyright 2005 Mike Frysinger - <vapier@gentoo.org> @@ -344,6 +344,9 @@ int qdepends_main_vdb(const char *depend_file, int argc, char **argv) { char depend[8192], use[8192]; dep_node *dep_tree; + virtuals = resolve_virtuals(); + print_sets(virtuals); + if (chdir(portroot)) errp("could not chdir(%s) for ROOT", portroot); |