What do you use to indent strace sources?

Dmitry V. Levin ldv at altlinux.org
Tue Feb 15 17:43:36 UTC 2011

On Mon, Feb 14, 2011 at 05:47:36PM +0000, Grant Edwards wrote:
> I've finished my first pass at displaying paths associated with file
> descriptor arguments and filtering based on those paths.  I was
> planning on posting diffs and requesting comments, but I can't figure
> out what tool/options you use to format strace source code.  It
> appears to be sort-of-but-not-quite linux style indentation.

There is no coding style enforcement in strace.
The coding style I prefer in this project is reflected by quota.c

> I can post diffs now, but while working on the new features I ended up
> running all the strace files through astyle to make them all
> consistent with each other and with the emacs settings I use.  So the
> diffs I can post at the momemnt would all be using Gnu style
> indentation.

This shouldn't be an issue.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20110215/60ca5d70/attachment.bin>

More information about the Strace-devel mailing list