Changeset 5966fcf


Ignore:
Timestamp:
Dec 4, 2005 8:12:19 PM (15 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
19bba04
Parents:
fbd7fee
git-author:
jrandom <jrandom> (12/04/05 20:12:19)
git-committer:
zzz <zzz@…> (12/04/05 20:12:19)
Message:

2005-12-04 TLorD

  • Patch for the C SAM library to null terminate strings on copy (thanks!)
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/sam/c/src/tinystring.c

    rfbd7fee r5966fcf  
    9191    size = min(src->size,size);
    9292    memcpy(dest,src->data,size);
     93    ((char*)dest)[size] = '\0';
    9394}
    9495
  • history.txt

    rfbd7fee r5966fcf  
    1 $Id: history.txt,v 1.345 2005/12/03 22:18:09 jrandom Exp $
     1$Id: history.txt,v 1.346 2005/12/04 15:02:25 jrandom Exp $
     2
     32005-12-04  TLorD
     4    * Patch for the C SAM library to null terminate strings on copy (thanks!)
    25
    362005-12-04  jrandom
Note: See TracChangeset for help on using the changeset viewer.