summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorklondike <klondike@xiscosoft.es>2013-04-01 20:15:48 +0200
committerIan Stakenvicius <axs@gentoo.org>2013-04-03 14:22:40 -0400
commitd8d626c7df9d352d123fad7187ccb1bb0a4d7806 (patch)
tree9a86d4348c566de050e0a68c2d8a3fedcad4d65b /m4
parentcdd665a9214ab9c0dd8ffb69749ed8bb6a005cf0 (diff)
Clean up the string functions
Avoid two evaluations of src in util_strpcpy clean the code in the ones where the pointer passed is not modified and merge the main loop of util_strpcpyl and util_strscpyl into util_strpcpyv. Also make strpcpy more compact by removing some unnecessary arithmetic. Cleanup util_strpcpyv by shortcutting size == 0 case Do some style fixups Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions