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

  Server: rpm5.org                         Name:   Pinto Elia
  Root:   /v/rpm/cvs                       Email:  devzero2...@rpm5.org
  Module: popt                             Date:   19-Dec-2013 22:30:19
  Branch: HEAD                             Handle: 2013121921301800

  Modified files:
    popt                    poptconfig.c

  Log:
    poptconfig.c: add some curly braces
    
    In c89 declarations were only valid at the beginning of blocks.

  Summary:
    Revision    Changes     Path
    1.64        +2  -0      popt/poptconfig.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: popt/poptconfig.c
  ============================================================================
  $ cvs diff -u -r1.63 -r1.64 poptconfig.c
  --- popt/poptconfig.c 19 Dec 2013 18:12:56 -0000      1.63
  +++ popt/poptconfig.c 19 Dec 2013 21:30:18 -0000      1.64
  @@ -508,6 +508,7 @@
       if (rc) goto exit;
   
   #if defined(HAVE_GLOB_H)
  +    {
       struct stat sb;
       if (!stat("SYSCONFDIR/popt.d", &sb) && S_ISDIR(sb.st_mode)) {
        const char ** av = NULL;
  @@ -528,6 +529,7 @@
            }
            av=_free(av);
        }
  +     }
       }
       if (rc) goto exit;
   #endif
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                rpm-cvs@rpm5.org

Reply via email to