summaryrefslogtreecommitdiff
path: root/stream.c
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-08-31 12:07:38 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2011-08-31 12:07:38 +0200
commit5284557bfad96f12dd5798539008e1644f1dc094 (patch)
treee21f2606f12499b00031a2ce49e9b467cf3b287e /stream.c
parentb5b2589231847905229d78588316e708cbd03af1 (diff)
downloadstrace-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