svn commit: r316081 - head/lib/libcam
Bruce Evans
brde at optusnet.com.au
Tue Mar 28 10:53:10 UTC 2017
On Tue, 28 Mar 2017, Ngie Cooper wrote:
> Log:
> Use `sizeof(cam_errbuf)` instead of `CAM_ERRBUF_SIZE` in snprintf calls
>
> Reindent snprintf calls' arguments to match style(9) guidelines with
> respect to indentation.
Unfortunately, cam is is supposed to not match style(9) guidelines for
indentation. It has its own style for many things, and used to follow
this very consistently. Its style for continuation indentation is the
same as gnu style (-lp).
The following of -lp seems to have been perfect for multi-line
snprintf()s in camlib.c. This gave 56 lines perfectly not matching
style(9), or about 1/4 of the non-matches.
Bruce
More information about the svn-src-all
mailing list