Changeset 1231 in kBuild for trunk/src/kmk/kmkbuiltin
- Timestamp:
- Oct 9, 2007 11:07:29 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/kmkbuiltin/md5sum.c
r1183 r1231 466 466 rc2 = (int)strlen(psz); 467 467 if (psz[rc2 - 1] == '\n') 468 psz[rc2 - 1] = '\0';468 psz[rc2 - (rc2 >= 2 && psz[rc2 - 2] == '\r' ? 2 : 1)] = '\0'; 469 469 470 470 /* skip to the end of the digest and terminate it. */
Note:
See TracChangeset
for help on using the changeset viewer.