[PATCH] combining -c and regular output

Adrien Kunysz adrien at kunysz.be
Tue Aug 18 09:30:35 UTC 2009


On Sun, Aug 16, 2009 at 08:56:59PM +0400, Dmitry V. Levin wrote:
> On Fri, Aug 14, 2009 at 12:06:51AM +0200, Adrien Krunch Kunysz wrote:
> > On Fri, Aug 14, 2009 at 12:56:12AM +0400, Dmitry V. Levin wrote:
> > > Your patch introduces new variable (Cflag) which behaves similar to
> > > already existing variable (cflag).  More simple approach would be to reuse
> > > the cflag variable.
> > 
> > If that means changing behaviour of -c and breaks compatibility,
> 
> No, my suggestion was just to change cflag from boolean to tristate.

OK, I think I got it. New patch attached. Not sure whether a new enum
is OK for this but it seems appropriate to me.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Implement-C-option-to-combine-regular-output-and-c.patch
Type: text/x-diff
Size: 5007 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20090818/f749f497/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20090818/f749f497/attachment-0001.bin>


More information about the Strace-devel mailing list