RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: lua/local/ lposix.c lrexlib.c lsyck.c

From: Ralf S. Engelschall <rse@rpm5.org>
Date: Mon 23 Jul 2007 - 10:14:02 CEST
Message-Id: <20070723081402.1C8D13484F4@rpm5.org>
  RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Ralf S. Engelschall
  Root:   /v/rpm/cvs                       Email:  rse@rpm5.org
  Module: lua                              Date:   23-Jul-2007 10:14:02
  Branch: HEAD                             Handle: 2007072309140100

  Modified files:
    lua/local               lposix.c lrexlib.c lsyck.c

  Log:
    use the prototype from the header instead of local version to be
    consistent in style throughout the local/lxxx.c files

  Summary:
    Revision    Changes     Path
    1.6         +1  -2      lua/local/lposix.c
    1.6         +1  -2      lua/local/lrexlib.c
    1.3         +1  -0      lua/local/lsyck.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: lua/local/lposix.c
  ============================================================================
  $ cvs diff -u -r1.5 -r1.6 lposix.c
  --- lua/local/lposix.c	15 Jul 2007 17:56:18 -0000	1.5
  +++ lua/local/lposix.c	23 Jul 2007 08:14:01 -0000	1.6
  @@ -28,6 +28,7 @@
   
   #include "lua.h"
   #include "lauxlib.h"
  +#include "lposix.h"
   
   /*@access DIR @*/
   
  @@ -1177,8 +1178,6 @@
   };
   /*@=readonlytrans@*/
   
  -LUALIB_API int luaopen_posix (lua_State *L);
  -
   LUALIB_API int luaopen_posix (lua_State *L)
   {
   	luaL_openlib(L, MYNAME, R, 0);
  @@ .
  patch -p0 <<'@@ .'
  Index: lua/local/lrexlib.c
  ============================================================================
  $ cvs diff -u -r1.5 -r1.6 lrexlib.c
  --- lua/local/lrexlib.c	15 Jul 2007 17:56:18 -0000	1.5
  +++ lua/local/lrexlib.c	23 Jul 2007 08:14:01 -0000	1.6
  @@ -9,6 +9,7 @@
   
   #include "lua.h"
   #include "lauxlib.h"
  +#include "lrexlib.h"
   
   #ifdef LUA_USE_POSIX
   #define WITH_POSIX
  @@ -342,8 +343,6 @@
     lua_rawset(L, -3);            /* metatable.__index = metatable */
   }
   
  -LUALIB_API int luaopen_rex(lua_State *L);
  -
   LUALIB_API int luaopen_rex(lua_State *L)
   {
   #ifdef WITH_POSIX
  @@ .
  patch -p0 <<'@@ .'
  Index: lua/local/lsyck.c
  ============================================================================
  $ cvs diff -u -r1.2 -r1.3 lsyck.c
  --- lua/local/lsyck.c	25 May 2007 18:34:14 -0000	1.2
  +++ lua/local/lsyck.c	23 Jul 2007 08:14:01 -0000	1.3
  @@ -11,6 +11,7 @@
   #include "lauxlib.h"
   #include "lua.h"
   #include "lualib.h"
  +#include "lsyck.h"
   
   struct emitter_xtra {
   	lua_State *L;
  @@ .
Received on Mon Jul 23 10:14:02 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.