- Timestamp:
 - Oct 10, 2007, 1:07:29 AM (18 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  trunk/src/kmk/kmkbuiltin/md5sum.c (modified) (1 diff)
 
 
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.
  