Replace more ad-hoc growing char buffers with strbuf.
I've fixed a handful of these where I found them in passing, but when I went systematically looking, there were a lot more that I hadn't found! A particular highlight of this collection is the code that formats Windows clipboard data in RTF, which was absolutely crying out for strbuf_catf, and now it's got it.
Showing
- Recipe 1 addition, 1 deletionRecipe
- cmdline.c 10 additions, 18 deletionscmdline.c
- import.c 17 additions, 45 deletionsimport.c
- logging.c 5 additions, 13 deletionslogging.c
- pscp.c 25 additions, 25 deletionspscp.c
- sshpubk.c 15 additions, 35 deletionssshpubk.c
- sshverstring.c 15 additions, 25 deletionssshverstring.c
- sshzlib.c 24 additions, 27 deletionssshzlib.c
- telnet.c 10 additions, 17 deletionstelnet.c
- unix/uxplink.c 11 additions, 22 deletionsunix/uxplink.c
- unix/uxstore.c 14 additions, 15 deletionsunix/uxstore.c
- windows/window.c 38 additions, 48 deletionswindows/window.c
- windows/winplink.c 11 additions, 22 deletionswindows/winplink.c
Loading
Please register or sign in to comment