commit | a7af2d73fb267af5c12dbef0b9866fbfa026ca39 | [log] [tgz] |
---|---|---|
author | Shih-wei Liao <sliao@google.com> | Tue Aug 24 18:43:46 2010 -0700 |
committer | Shih-wei Liao <sliao@google.com> | Tue Aug 24 18:43:46 2010 -0700 |
tree | 324ef0c6484de72158c6aaf138220d327af77ede | |
parent | 917c3c4dc2ebadfe525192eee35f2995a5af14dd [diff] |
Robustness improvement: 1. Use std::string instead of (char*) in main(). 2. Fix the replaceLastPartWithFile to remove memory leak and simplify the code. Change-Id: If1421db1c9615c56cf7c4629245c7f028e9696bc