Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 550654
Collapse All | Expand All

(-)a/misc/install-xattr/install-xattr.c (-3 / +6 lines)
Lines 261-268 main(int argc, char* argv[]) Link Here
261
	 * strings.  Also, no need to free(exclude) before we exit().
261
	 * strings.  Also, no need to free(exclude) before we exit().
262
	 */
262
	 */
263
	char *p = exclude;
263
	char *p = exclude;
264
	while ((p = strchr(p, ' ')))
264
	char *pend = p + len_exclude;
265
		*p++ = '\0';
265
	while (p != pend) {
266
		if (isspace(*p))
267
			*p = '\0';
268
		p++;
269
	}
266
270
267
	opterr = 0; /* we skip many legitimate flags, so silence any warning */
271
	opterr = 0; /* we skip many legitimate flags, so silence any warning */
268
272
269
- 

Return to bug 550654