Return to file.c CVS log | Up to [local] / src / usr.bin / cvs |
version 1.62, 2005/04/18 21:02:50 | version 1.63, 2005/04/18 21:10:39 | ||
---|---|---|---|
|
|
||
type = DT_UNKNOWN; | type = DT_UNKNOWN; | ||
cwd = (strcmp(path, ".") == 0) ? 1 : 0; | cwd = (strcmp(path, ".") == 0) ? 1 : 0; | ||
printf("lget(%s)\n", path); | |||
ret = stat(path, &st); | ret = stat(path, &st); | ||
if (ret == 0) | if (ret == 0) | ||
type = IFTODT(st.st_mode); | type = IFTODT(st.st_mode); |