diff options
author | Russell Bryant <russellbryant@users.sourceforge.net> | 2008-01-10 03:55:28 +0000 |
---|---|---|
committer | Russell Bryant <russellbryant@users.sourceforge.net> | 2008-01-10 03:55:28 +0000 |
commit | 333f803b4d80a3da30a7678328c0c51890bc4c53 (patch) | |
tree | 6d705ef877fe7df01429a188c17df15070d6fcfd /pd/src/s_file.c | |
parent | 6adc1e3908b6a30dc4e25ecfc21e93782d63230a (diff) |
(from issue #1836228)
This little patch slightly improves pd_makeversion(). Namely, I didn't like
the use of sprintf() which ignored the possibility of the version string being
longer than the allowed buffer size. Also, I changed malloc+strcpy to the
slightly simpler strdup().
svn path=/trunk/; revision=9145
Diffstat (limited to 'pd/src/s_file.c')
0 files changed, 0 insertions, 0 deletions