Move all of the fopen() and open() calls to the top of main()
Avoid reusing the 'fd' variable, since it is used read only, then later write only
cap_enter(), and make all except the output FD read/seek only.
Differential D7358
Capsiciumize bspatch allanjude on Jul 29 2016, 5:14 AM. Authored by Tags None Referenced Files
Subscribers
Details
Diff Detail
Event TimelineComment Actions Capsicum part look's fine for me. Thanks, for that. I have a lot of issue with the style of file. But maybe we should keep it in the same way?
Comment Actions Well, the file is already a mix and match of style(9) and non-style(9). My suggestion would be to fix up any code to be properly formatted if you're changing it anyway. Allan: Thanks for working on this!
Comment Actions LGTM in general, thanks for working on this one. Please fix the two style issues pointed out by Ed when committing. |