~ubuntu-branches/ubuntu/trusty/lua5.1/trusty-security

« back to all changes in this revision

Viewing changes to src/lvm.c

  • Committer: Package Import Robot
  • Author(s): Enrico Tassi
  • Date: 2011-12-25 20:15:03 UTC
  • Revision ID: package-import@ubuntu.com-20111225201503-f5qtz0ahyho983h8
Tags: 5.1.4-12
* Provide liblua5.1-c++.so and lua5.1-c++.pc to make it possible to C++
  programs to link against Lua and use the C++ exception mecanism.
  (Closes: #560139)
* Add lua patch 5.1.4-4 fixing all known bugs of lua 5.1.4 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
** $Id: lvm.c,v 2.63.1.4 2009/07/01 21:10:33 roberto Exp $
 
2
** $Id: lvm.c,v 2.63.1.5 2011/08/17 20:43:11 roberto Exp $
3
3
** Lua virtual machine
4
4
** See Copyright Notice in lua.h
5
5
*/
142
142
      if (!ttisnil(oldval) ||  /* result is no nil? */
143
143
          (tm = fasttm(L, h->metatable, TM_NEWINDEX)) == NULL) { /* or no TM? */
144
144
        setobj2t(L, oldval, val);
 
145
        h->flags = 0;
145
146
        luaC_barriert(L, h, val);
146
147
        return;
147
148
      }