commit | 5284557bfad96f12dd5798539008e1644f1dc094 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <dvlasenk@redhat.com> | Wed Aug 31 12:07:38 2011 +0200 |
committer | Denys Vlasenko <dvlasenk@redhat.com> | Wed Aug 31 12:07:38 2011 +0200 |
tree | e21f2606f12499b00031a2ce49e9b467cf3b287e | |
parent | b5b2589231847905229d78588316e708cbd03af1 [diff] |
Optimization: eliminate some usages of strcat() * defs.h: Declare stpcpy(). * util.c: Define stpcpy(). * file.c: Remove static str_append(). (sprint_open_modes): Use stpcpy() instead of str_append(). (sprintflags): Use stpcpy() instead of strcat(). (printpathn): Eliminate usage of strcat(). (printstr): Eliminate usage of strcat(). Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>