#ifndef lint
static const char rcsid[] =
- "$Id: dirs.c,v 1.18 2002/02/04 11:18:46 stelian Exp $";
+ "$Id: dirs.c,v 1.20 2002/06/25 19:00:38 stelian Exp $";
#endif /* not lint */
#include <config.h>
if (!Bcvt)
dp->d_namlen = dp->d_type;
# endif
+ if (dp->d_namlen == 0 && dp->d_type != 0)
+ dp->d_namlen = dp->d_type;
dp->d_type = DT_UNKNOWN;
}
#ifdef DIRDEBUG
ep->e_flags &= ~NEW;
continue;
}
- if (node.ino == ROOTINO &&
+ if ((flags & FORCE) == 0 &&
+ node.ino == ROOTINO &&
reply("set owner/mode for '.'") == FAIL)
continue;
}