IDWMaster / dokan

Automatically exported from code.google.com/p/dokan
0 stars 0 forks source link

Cygwin rmdir does not delete directory on mirror volume #260

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. use simple c program
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
int main()
{
              mkdir("/cygdrive/m/mydir", S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH);
              rmdir("/cygdrive/m/mydir);
              return 0;
}

Build this program under Cygwin and  run it. After program termination 
directory is not deleted.
Problem is in delete, it use "delete file" instead of "delete direvtory".
On ntfs drive is everything OK.

Original issue reported on code.google.com by snu...@gmail.com on 9 Jul 2012 at 2:14