bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] Re: getaddrinfo


From: Bob Proulx
Subject: Re: [Bug-gnulib] Re: getaddrinfo
Date: Tue, 9 Nov 2004 09:18:14 -0700
User-agent: Mutt/1.5.6+20040907i

Simon Josefsson wrote:
> > > +  if (hints &&
> > GNU coding style (section "Formatting Your Source Code") recommends
> > to put the operator && into the next line.
> 
> I'm using "indent", which seem to miss that.  Fixed manually.

The -bbo option.  In your ~/.indent.pro file:

  --break-before-boolean-operator

But this should be the default with GNU indent.  From the manual for
version 2.2.9:

     As of version 1.2, the default style of GNU `indent' is the GNU
  style.  Thus, it is no longer necessary to specify the option `-gnu' to
  obtain this format, although doing so will not cause an error.  Option
  settings which correspond to the GNU style are:

       -nbad -bap -nbc -bbo -bl -bli2 -bls -ncdb -nce -cp1 -cs -di2
       -ndj -nfc1 -nfca -hnl -i2 -ip5 -lp -pcs -nprs -psl -saf -sai
       -saw -nsc -nsob

Perhaps you have an opposing option in your ~/.indent.pro file?

Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]