summaryrefslogtreecommitdiffstats
path: root/common/utils.c
AgeCommit message (Collapse)AuthorFilesLines
2013-09-17common: Add helpers to read and write plist filesGravatar Martin Szulecki1-0/+88
2013-07-13common: Implement stpcpy() replacement for systems lacking itGravatar Martin Szulecki1-0/+23
2013-07-02common: Add utils.[ch] with a string_concat() functionGravatar Federico Mena Quintero1-0/+85
Instead of doing malloc() and repeated strcat(), which is an O(n^2) way to concatenate multiple strings, we define a single O(total_len) function that uses stpcpy(). This will also make the rest of the code more legible and safer.