5 int wrapped_stat (path, buffer)
12 strcpy(statpath, path);
13 strip_trailing_slashes (statpath);
14 if(strcmp(statpath, ".") == 0)
18 rs = stat (wd, buffer);
22 rs = stat (statpath, buffer);
26 /* If stat() fails try again after appending ".dir" to the filename
27 this allows you to stat things like "bloogle/CVS" from VMS 6.1 */
28 strcat(statpath, ".dir");
29 rs = stat (statpath, buffer);