sp->fts_pathlen += more;
fts_palloc(sp, more)	FTS *sp;	size_t more;{	char *p;	sp->fts_pathlen += more + 256;	/*	 * Check for possible wraparound.  In an FTS, fts_pathlen is	 * a signed int but in an FTSENT it is an unsigned short.	 * We limit fts_pathlen to USHRT_MAX to be safe in both cases.	 */	if (sp->fts_pathlen < 0 || sp->fts_pathlen >= USHRT_MAX) {		if (sp->fts_path)			free(sp->fts_path);		sp->fts_path = NULL;		errno = ENAMETOOLONG;		return (1);	}	p = realloc(sp->fts_path, sp->fts_pathlen);	if (p == NULL) {		if (sp->fts_path)			free(sp->fts_path);		sp->fts_path = NULL;		return (1);	}	sp->fts_path = p;	return (0);}