Changeset 809 for trunk/src/gmake/kmkbuiltin/mkdir.c
- Timestamp:
- Jan 29, 2007, 6:54:36 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gmake/kmkbuiltin/mkdir.c
r611 r809 48 48 #include <errno.h> 49 49 #ifndef _MSC_VER 50 # include <libgen.h>50 # include <libgen.h> 51 51 #endif 52 52 #include <stdio.h> 53 53 #include <stdlib.h> 54 54 #include <string.h> 55 #ifndef _MSC_VER56 55 #include <sysexits.h> 57 56 #include <unistd.h> 58 #else 59 #include "mscfakes.h" 60 #include <malloc.h> 57 58 #ifdef __sun__ 59 # include "getopt.h" 60 #endif 61 #ifdef _MSC_VER 62 # include <malloc.h> 63 # include "mscfakes.h" 61 64 #endif 62 65 … … 81 84 /* reinitialize globals */ 82 85 vflag = 0; 83 86 84 87 /* kmk: reset getopt and set progname */ 85 88 g_progname = argv[0]; … … 136 139 } else if (vflag) 137 140 (void)printf("%s\n", *argv); 138 141 139 142 if (!success) 140 143 exitval = 1; … … 172 175 p = strchr(p, '\\'); 173 176 } 174 #endif 177 #endif 175 178 176 179 p = path;
Note:
See TracChangeset
for help on using the changeset viewer.