rem: p2 = "/";
add: for (p2 = p1; *p2 == '/'; p2++) {} if (*p2) p2 = "/";
context: char *full_fname(const char *fn){	static char *result = NULL;	char *m1, *m2, *m3;	char *p1, *p2;	if (result)		free(result);	fn = safe_fname(fn);	if (*fn == '/')		p1 = p2 = "";	else {		p1 = curr_dir;		p2 = "/";	}	if (module_id >= 0) {		m1 = " (in ";		m2 = lp_name(module_id);		m3 = ")";		if (*p1) {			if (!lp_use_chroot(module_id)) {				char *p = lp_path(module_id);				if (*p != '/' || p[1])					p1 += strlen(p);			}			if (!*p1)				p2++;			else				p1++;		}		else			fn++;	} else		m1 = m2 = m3 = "";	asprintf(&result, "\"%s%s%s\"%s%s%s", p1, p2, fn, m1, m2, m3);	return result;}