diff options
Diffstat (limited to 'gnu/usr.bin/cvs/os2/mkdir.c')
-rw-r--r-- | gnu/usr.bin/cvs/os2/mkdir.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/usr.bin/cvs/os2/mkdir.c b/gnu/usr.bin/cvs/os2/mkdir.c new file mode 100644 index 00000000000..2c9df546847 --- /dev/null +++ b/gnu/usr.bin/cvs/os2/mkdir.c @@ -0,0 +1,17 @@ +/* mkdir.c --- mkdir for OS/2 + Karl Fogel <kfogel@cyclic.com> --- October 1995 */ + +#include <assert.h> + +#include "cvs.h" + +int +os2_mkdir (const char *path, int mode) +{ + /* This is true for all extant calls to CVS_MKDIR. If + someone adds a call that uses something else later, + we should tweak this function to handle that. */ + assert (mode == 0777); + + return mkdir (path); +} |