RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Ralf S. Engelschall Root: /v/rpm/cvs Email: [EMAIL PROTECTED] Module: rpm Date: 01-Jan-2008 19:55:39 Branch: HEAD Handle: 2008010118553800 Modified files: rpm/rpmio rpmlua.c Log: Ah, Lua really knows about true booleans, so reimplement the Right Way (tm) Summary: Revision Changes Path 2.36 +1 -4 rpm/rpmio/rpmlua.c ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/rpmio/rpmlua.c ============================================================================ $ cvs diff -u -r2.35 -r2.36 rpmlua.c --- rpm/rpmio/rpmlua.c 31 Dec 2007 21:43:20 -0000 2.35 +++ rpm/rpmio/rpmlua.c 1 Jan 2008 18:55:38 -0000 2.36 @@ -938,10 +938,7 @@ /[EMAIL PROTECTED] internalState @*/ /[EMAIL PROTECTED] L, internalState @*/ { - if (rpmIsVerbose()) - lua_pushinteger(L, 1); - else - lua_pushnil(L); + lua_pushboolean(L, rpmIsVerbose()); return 1; } @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org