- Timestamp:
- Dec 25, 2018, 9:47:49 PM (7 years ago)
- Location:
- trunk/src/kash
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/miscbltin.c
r2648 r3240 388 388 while ((c = *p++) >= '0' && c <= '9') 389 389 { 390 shrlim_t const prev = val; 390 391 val = (val * 10) + (long)(c - '0'); 391 if (val < (shrlim_t) 0)392 if (val < prev) 392 393 break; 393 394 } -
trunk/src/kash/shfile.c
r2681 r3240 583 583 * @param pszPath The path to fix. 584 584 */ 585 staticvoid shfile_fix_slashes(char *pszPath)585 K_INLINE void shfile_fix_slashes(char *pszPath) 586 586 { 587 587 #if K_OS == K_OS_WINDOWS || K_OS == K_OS_OS2 … … 1463 1463 TRACE2((NULL, "shfile_write(%d) - %lu bytes (%d) - pos %lu - before; %o\n", 1464 1464 fd, (long)s.st_size, x, (long)lseek(fd, 0, SEEK_CUR), s.st_mode )); 1465 K_NOREF(x); 1465 1466 errno = iSavedErrno; 1466 1467 } -
trunk/src/kash/shinstance.h
r2657 r3240 358 358 /* signals */ 359 359 #define SH_SIG_UNK ((shsig_t)(intptr_t)-199) 360 #define SH_SIG_DFL ((shsig_t) SIG_DFL)361 #define SH_SIG_IGN ((shsig_t) SIG_IGN)362 #define SH_SIG_ERR ((shsig_t) SIG_ERR)360 #define SH_SIG_DFL ((shsig_t)(intptr_t)SIG_DFL) 361 #define SH_SIG_IGN ((shsig_t)(intptr_t)SIG_IGN) 362 #define SH_SIG_ERR ((shsig_t)(intptr_t)SIG_ERR) 363 363 #ifdef _MSC_VER 364 364 # define SA_RESTART 0x02
Note:
See TracChangeset
for help on using the changeset viewer.