Changeset 1246 in kBuild for trunk/src/kmk
- Timestamp:
- Oct 15, 2007 4:54:59 PM (17 years ago)
- Location:
- trunk/src/kmk/kmkbuiltin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/kmkbuiltin/cmp.c
r1183 r1246 65 65 #endif 66 66 #include <locale.h> 67 #include "getopt.h" 67 68 68 69 #ifndef O_BINARY -
trunk/src/kmk/kmkbuiltin/cp.c
r1194 r1246 72 72 #include <string.h> 73 73 #include <unistd.h> 74 #include "getopt.h" 74 75 75 76 #ifdef _MSC_VER … … 610 611 " or: %s --version\n", 611 612 g_progname, g_progname, g_progname, g_progname); 612 return EX_USAGE;613 return 1; 613 614 } -
trunk/src/kmk/kmkbuiltin/solfakes.c
r960 r1246 27 27 #include <stdarg.h> 28 28 #include <stdlib.h> 29 #ifdef __sun__30 # undef va_copy /* why? */31 #endif32 29 #include "solfakes.h" 33 30 … … 62 59 va_copy(va2, va); 63 60 rc = snprintf(psz, cb, fmt, va2); 64 va_end(va Copy);61 va_end(va2); 65 62 #else 66 63 va2 = va; -
trunk/src/kmk/kmkbuiltin/solfakes.h
r813 r1246 27 27 #ifdef __sun__ 28 28 29 #include <stdarg.h> 29 30 #include "getopt.h" 30 31 #define _PATH_DEVNULL "/dev/null" … … 37 38 #endif 38 39 40 int vasprintf(char **strp, const char *fmt, va_list va); 41 int asprintf(char **strp, const char *fmt, ...); 42 39 43 #endif /* __sun__ */ 40 44 #endif /* __solfakes_h__ */
Note:
See TracChangeset
for help on using the changeset viewer.