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

  Server: rpm5.org                         Name:   Jeff Johnson
  Root:   /v/rpm/cvs                       Email:  j...@rpm5.org
  Module: lua                              Date:   23-Sep-2014 20:14:48
  Branch: rpm-5_4                          Handle: 2014092318144800

  Modified files:           (Branch: rpm-5_4)
    lua/local               lposix.c

  Log:
    - lua: fix: mode uninitialized (clang -Wsometimes-uninitialized).

  Summary:
    Revision    Changes     Path
    1.14.4.8    +1  -1      lua/local/lposix.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: lua/local/lposix.c
  ============================================================================
  $ cvs diff -u -r1.14.4.7 -r1.14.4.8 lposix.c
  --- lua/local/lposix.c        31 Jul 2013 19:43:48 -0000      1.14.4.7
  +++ lua/local/lposix.c        23 Sep 2014 18:14:48 -0000      1.14.4.8
  @@ -1680,7 +1680,7 @@
   {
        const char *path = luaL_checkstring(L, 1);
        int flags = luaL_checkint(L, 2);
  -     mode_t mode;
  +     mode_t mode = 0000;
        if (flags & O_CREAT) {
                const char *modestr = luaL_checkstring(L, 3);
                if (mode_munch(&mode, modestr))
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                rpm-cvs@rpm5.org

Reply via email to