summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cvs/vms/rmdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/cvs/vms/rmdir.c')
-rw-r--r--gnu/usr.bin/cvs/vms/rmdir.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/usr.bin/cvs/vms/rmdir.c b/gnu/usr.bin/cvs/vms/rmdir.c
new file mode 100644
index 00000000000..050580e0878
--- /dev/null
+++ b/gnu/usr.bin/cvs/vms/rmdir.c
@@ -0,0 +1,10 @@
+#include <stdio.h>
+#include <unixio.h>
+
+int rmdir(path)
+char *path;
+{
+ chmod(path, 0777);
+ return remove(path);
+}
+