Changeset 1087 in kBuild
- Timestamp:
- Aug 29, 2007 12:40:58 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kObjCache/kObjCache.c
r1055 r1087 2531 2531 /* Match the current line. */ 2532 2532 psz = memchr(psz1, '\n', pszEnd1 - psz1); 2533 if (!psz )2533 if (!psz++) 2534 2534 psz = pszEnd1; 2535 2535 cch = psz - psz1; … … 2559 2559 } 2560 2560 2561 /* Try align psz1 on 8 or 4 bytes so at least one of the buffers are aligned. */2561 /* Advance. We might now have a misaligned buffer, but that's memcmps problem... */ 2562 2562 psz1 += cch; 2563 2563 psz2 += cch; 2564 if (cch >= ((uintptr_t)psz1 & 7))2565 {2566 psz2 -= ((uintptr_t)psz1 & 7);2567 psz1 -= ((uintptr_t)psz1 & 7);2568 }2569 else if (cch >= ((uintptr_t)psz1 & 3))2570 {2571 psz2 -= ((uintptr_t)psz1 & 3);2572 psz1 -= ((uintptr_t)psz1 & 3);2573 }2574 2564 } 2575 2565 }
Note:
See TracChangeset
for help on using the changeset viewer.