vim_stat(const char *name, stat_T *stp)
{
    // On Solaris stat() accepts "file/" as if it was "file".  Return -1 if
    // the name ends in "/" and it's not a directory.
    return illegal_slash(name) ? -1 : stat(name, stp);
}
vim_stat(const char *name, stat_T *stp)
{
     
     
    return illegal_slash(name) ? -1 : stat(name, stp);
}