rem: pattern[l++] = '/'; pattern[l] = '\0';
add: p[l++] = '/'; p[l] = '\0';
context: void send_exclude_list(int f){	int i;	extern int list_only, recurse;	/* This is a complete hack - blame Rusty.	 *	 * FIXME: This pattern shows up in the output of	 * report_exclude_result(), which is not ideal. */	if (list_only && !recurse)		add_exclude(&exclude_list, "/*/*", ADD_EXCLUDE);	if (!exclude_list) {		write_int(f,0);		return;	}	for (i = 0; exclude_list[i]; i++) {		unsigned int l;		char pattern[MAXPATHLEN+1];		l = strlcpy(pattern, exclude_list[i]->pattern, sizeof pattern);		if (l == 0 || l >= MAXPATHLEN)			continue;		if (exclude_list[i]->directory) {			pattern[l++] = '/';			pattern[l] = '\0';		}		if (exclude_list[i]->include) {			write_int(f,l+2);			write_buf(f,"+ ",2);		} else {			write_int(f,l);		}		write_buf(f,pattern,l);	}	write_int(f,0);}