On Mon, 2004-03-01 at 11:14, Szakacsits Szabolcs wrote:
> On Fri, 27 Feb 2004, Andras Erdei wrote:
>
> > i don't really care which one i have to use, but unless these
> > conventions are written down somewhere, you'll have to flame me about
> > every new line of code i write, because i will not know what you
> > expect from me
>
> Reasonable :) Here is a summary where we got so far. Maybe
> ntfsprogs/doc/CodingStyle could be updated with these addition
> info as well:
>
> - check out ntfsprogs/doc/CodingStyle
>
> - check out {linux-kernel-latest}/Documentation/CodingStyle
>
> - for the explicitely unwritten styles, check/read the kernel
> and/or libntfs source. Some parts of the kernel might have
> unwanted coding styles but usually e.g.
> {linux-kernel}/kernel
> has what Linus prefers/writes and most developer follows.
>
> - {linux-kernel-latest}/scripts/Lindent formats the source the
> most preferred way, moreover the below patch will be applied
> to the official tree as well quite likely:
> http://lkml.org/lkml/2004/1/30/180
> Check indent(1) what the used/unused (default) parameters mean.
Good idea. I have modified it with words to the same effect.
Best regards,
Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/ &
http://www-stu.christs.cam.ac.uk/~aia21/
|