[GRASS-dev] Re: [GRASS GIS] #1663: Tabs in C source code

GRASS GIS trac at osgeo.org
Fri May 25 08:19:50 PDT 2012


#1663: Tabs in C source code
-------------------------+--------------------------------------------------
  Reporter:  wenzeslaus  |       Owner:  grass-dev@…              
      Type:  defect      |      Status:  closed                   
  Priority:  normal      |   Milestone:                           
 Component:  Default     |     Version:  unspecified              
Resolution:  invalid     |    Keywords:  indent tabs spaces       
  Platform:  All         |         Cpu:  All                      
-------------------------+--------------------------------------------------
Changes (by glynn):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 Replying to [ticket:1663 wenzeslaus]:

 > But C source files contains both spaces and tabs.

 This is not a problem, so long as the code is indented correctly for
 8-column tabs. Trying to enforce a spaces-only policy isn't worth the
 trouble.

 If you configure your text editor with something other than 8-column tabs,
 you're on your own (just don't commit code which relies upon something
 other than 8-column tabs).

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1663#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list