Changeset 809 for trunk/src/gmake/kmkbuiltin/rmdir.c
- Timestamp:
- Jan 29, 2007, 6:54:36 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gmake/kmkbuiltin/rmdir.c
r695 r809 49 49 #include <string.h> 50 50 #include <errno.h> 51 #ifndef _MSC_VER52 51 #include <unistd.h> 53 # else54 #include <malloc.h> 55 #i nclude "mscfakes.h"56 # endif57 # include <getopt.h>52 #include "getopt.h" 53 54 #ifdef _MSC_VER 55 # include "mscfakes.h" 56 #endif 58 57 59 58 static int rm_path(char *); … … 82 81 /* reinitialize globals */ 83 82 ignore_fail_on_not_exist = ignore_fail_on_non_empty = vflag = pflag = 0; 84 83 85 84 /* kmk: reset getopt and set progname */ 86 85 g_progname = argv[0]; … … 150 149 p = strchr(p, '\\'); 151 150 } 152 #endif 151 #endif 153 152 154 153 p = path + len; … … 166 165 if (p[-1] == ':' && p - 2 == path) 167 166 break; 168 #endif 167 #endif 169 168 170 169 if (rmdir(path) < 0) {
Note:
See TracChangeset
for help on using the changeset viewer.