fts_pathlen and fts_namelen are u_short, not short

Obtained from:	OpenBSD
This commit is contained in:
kris 1999-11-15 03:29:19 +00:00
parent 3853bec4b5
commit a2292a1c57

View File

@ -112,9 +112,9 @@ typedef struct _ftsent {
u_short fts_info; /* flags for FTSENT structure */
char *fts_accpath; /* access path */
char *fts_path; /* root path */
short fts_pathlen; /* strlen(fts_path) */
u_short fts_pathlen; /* strlen(fts_path) */
char *fts_name; /* file name */
short fts_namelen; /* strlen(fts_name) */
u_short fts_namelen; /* strlen(fts_name) */
short fts_level; /* depth (\-1 to N) */
int fts_errno; /* file errno */
long fts_number; /* local numeric value */