Changeset 3140 for trunk/src/kmk/kmkbuiltin
- Timestamp:
- Mar 14, 2018, 10:28:10 PM (7 years ago)
- Location:
- trunk/src/kmk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk
-
Property svn:mergeinfo
set to
/vendor/gnumake/current merged eligible
-
Property svn:mergeinfo
set to
-
trunk/src/kmk/kmkbuiltin/append.c
r3134 r3140 28 28 *******************************************************************************/ 29 29 #ifndef kmk_builtin_append 30 # include "make .h"30 # include "makeint.h" 31 31 # include "filedef.h" 32 32 # include "variable.h" -
trunk/src/kmk/kmkbuiltin/expr.c
r2591 r3140 33 33 static int is_zero_or_null(struct val *); 34 34 static void nexttoken(int); 35 static void error(void);36 35 static struct val *eval6(void); 37 36 static struct val *eval5(void); … … 284 283 __attribute__((noreturn)) 285 284 #endif 285 #ifdef _MSC_VER 286 __declspec(noreturn) 287 #endif 286 288 static void 287 289 error(void) -
trunk/src/kmk/kmkbuiltin/kSubmit.c
r3051 r3140 30 30 # define _POSIX_C_SOURCE 1 /* 10.4 sdk and unsetenv */ 31 31 #endif 32 #include "make .h"32 #include "makeint.h" 33 33 #include "job.h" 34 34 #include "variable.h" -
trunk/src/kmk/kmkbuiltin/mscfakes.c
r3117 r3140 44 44 #undef utimes 45 45 #undef lutimes 46 47 #define timeval windows_timeval48 #include <Windows.h>49 #undef timeval50 46 51 47 extern ssize_t maybe_con_write(int, void const *, size_t); … … 662 658 663 659 664 int utimes(const char *pszPath, const struct timeval *paTimes)660 int utimes(const char *pszPath, const struct msc_timeval *paTimes) 665 661 { 666 662 if (paTimes) … … 677 673 678 674 679 int lutimes(const char *pszPath, const struct timeval *paTimes)675 int lutimes(const char *pszPath, const struct msc_timeval *paTimes) 680 676 { 681 677 if (paTimes) … … 692 688 693 689 694 int gettimeofday(struct timeval *pNow, void *pvIgnored)690 int gettimeofday(struct msc_timeval *pNow, void *pvIgnored) 695 691 { 696 692 struct __timeb64 Now; -
trunk/src/kmk/kmkbuiltin/mscfakes.h
r3092 r3140 110 110 #endif 111 111 112 struct timeval112 struct msc_timeval 113 113 { 114 114 __time64_t tv_sec; 115 115 long tv_usec; 116 116 }; 117 #define timeval msc_timeval 117 118 118 119 struct iovec … … 160 161 #endif 161 162 int symlink(const char *pszDst, const char *pszLink); 162 int utimes(const char *pszPath, const struct timeval *paTimes);163 int lutimes(const char *pszPath, const struct timeval *paTimes);163 int utimes(const char *pszPath, const struct msc_timeval *paTimes); 164 int lutimes(const char *pszPath, const struct msc_timeval *paTimes); 164 165 ssize_t writev(int fd, const struct iovec *vector, int count); 165 166 166 int gettimeofday(struct timeval *pNow, void *pvIgnored);167 int gettimeofday(struct msc_timeval *pNow, void *pvIgnored); 167 168 struct tm *localtime_r(const __time64_t *pNow, struct tm *pResult); 168 169 __time64_t timegm(struct tm *pNow); -
trunk/src/kmk/kmkbuiltin/printf.c
r2900 r3140 47 47 48 48 #if !defined(kmk_builtin_printf) && !defined(BUILTIN) && !defined(SHELL) 49 # include "../make .h"49 # include "../makeint.h" 50 50 # include "../filedef.h" 51 51 # include "../variable.h" … … 217 217 g_o = NULL; 218 218 219 (void)funcname;220 219 if (rc != 0) 221 fatal (NILF, _("$(%s): failure rc=%d\n"), funcname, rc);220 fatal(NILF, strlen(funcname) + INTSTR_LENGTH, _("$(%s): failure rc=%d\n"), funcname, rc); 222 221 return o; 223 222 } -
trunk/src/kmk/kmkbuiltin/redirect.c
r3110 r3140 30 30 /*# define _POSIX_C_SOURCE 1 / * 10.4 sdk and unsetenv * / - breaks O_CLOEXEC on 10.8 */ 31 31 #endif 32 #include "make .h"32 #include "makeint.h" 33 33 #include <assert.h> 34 34 #include <stdio.h> -
trunk/src/kmk/kmkbuiltin/touch.c
r3074 r3140 27 27 * Header Files * 28 28 *******************************************************************************/ 29 #include "make .h"29 #include "makeint.h" 30 30 #include <assert.h> 31 31 #include <stdarg.h>
Note:
See TracChangeset
for help on using the changeset viewer.