diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-08-31 12:07:38 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-08-31 12:07:38 +0200 |
commit | 5284557bfad96f12dd5798539008e1644f1dc094 (patch) | |
tree | e21f2606f12499b00031a2ce49e9b467cf3b287e /stream.c | |
parent | b5b2589231847905229d78588316e708cbd03af1 (diff) | |
download | strace-5284557bfad96f12dd5798539008e1644f1dc094.tar.gz strace-5284557bfad96f12dd5798539008e1644f1dc094.tar.bz2 strace-5284557bfad96f12dd5798539008e1644f1dc094.tar.xz |
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>
Diffstat (limited to 'stream.c')
0 files changed, 0 insertions, 0 deletions