Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 171374 | Differences between
and this patch

Collapse All | Expand All

(-)qgrep.c (-2 / +2 lines)
Lines 61-70 char qgrep_name_match(const char* name, Link Here
61
		if (argv[i] == NULL)
61
		if (argv[i] == NULL)
62
			continue;
62
			continue;
63
		if (atom->CATEGORY && argv[i]->CATEGORY && *(argv[i]->CATEGORY)
63
		if (atom->CATEGORY && argv[i]->CATEGORY && *(argv[i]->CATEGORY)
64
				&& strcmp(atom->CATEGORY, argv[i]->CATEGORY))
64
				&& !strstr(atom->CATEGORY, argv[i]->CATEGORY))
65
			continue;
65
			continue;
66
		if (atom->PN && argv[i]->PN && *(argv[i]->PN)
66
		if (atom->PN && argv[i]->PN && *(argv[i]->PN)
67
				&& strcmp(atom->PN, argv[i]->PN))
67
				&& !strstr(atom->PN, argv[i]->PN))
68
			continue;
68
			continue;
69
		if (atom->PVR && argv[i]->PVR && *(argv[i]->PVR)
69
		if (atom->PVR && argv[i]->PVR && *(argv[i]->PVR)
70
				&& strcmp(atom->PVR, argv[i]->PVR))
70
				&& strcmp(atom->PVR, argv[i]->PVR))

Return to bug 171374