AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2003.04.27 12:15 "Coding style for libtiff?", by Tom Kacvinsky
2003.04.28 15:36 "Re: Coding style for libtiff?", by Andrey Kiselev
2003.04.28 18:14 "Re: Coding style for libtiff?", by Sam Leffler

2003.04.28 15:36 "Re: Coding style for libtiff?", by Andrey Kiselev

On Sun, Apr 27, 2003 at 08:15:24AM -0400, Tom Kacvinsky wrote:

But this brings up the point of the coding style for libtiff. Is there a "code

mom" that takes care of formatting of submitted patches, or is it up to the submitter of the patch to do the right formatting? Is there an indent style that the maintainers use? If so, let me know what it is and I can run indent

on my local code before running 'cvs diff -u'

Tom,

There isn't strong coding style in libtiff, but to be similar to other code you should use tabs (not spaces) for indentation. If you are using Vim you may aplly something like

:set cinoptions==8g1sh1s
:set tabstop=8
:set noexpandtab

Regards,
Andrey

--
Andrey V. Kiselev

Home phone: +7 812 5274898 ICQ# 26871517