RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Pinto Elia
  Root:   /v/rpm/cvs                       Email:  devzero2...@rpm5.org
  Module: rpm                              Date:   20-Apr-2011 13:52:36
  Branch: HEAD                             Handle: 2011042011523600

  Modified files:
    rpm/doc/manual          codingstyle

  Log:
    add some reference to what @rpm5.org coding style refer

  Summary:
    Revision    Changes     Path
    1.2         +5  -0      rpm/doc/manual/codingstyle
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/doc/manual/codingstyle
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 codingstyle
  --- rpm/doc/manual/codingstyle        25 Apr 2010 23:34:51 -0000      1.1
  +++ rpm/doc/manual/codingstyle        20 Apr 2011 11:52:36 -0000      1.2
  @@ -41,6 +41,11 @@
   }
   \endverbatim
   
  +Just for reference this style is sometime called K&R 
  +"The One True Brace Style" (abbreviated as 1TBS or OTBS).
  +The K&R styles is so-called because it was used in 
  +Kernighan and Ritchie's book The C Programming Language.
  +
   Function names in RPM use CamelCase (or to be more exact, camelCase). Public
   functions are named using a simple schema. Use <code>rpm</code> as prefix, 
add
   then the acronym of the library the function belongs to, e.g. 
<code>fi</code>.
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                rpm-cvs@rpm5.org

Reply via email to