Projects > cpp > Issues > Bug #634

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

require "xxx.lua" in lua script file raise "buffer too small" error on win32

Bug #634 [Rejected]
walzer@cocos2d-x.org 2011-07-26 02:59 . Updated over 4 years ago

steps to reproduce:
# create a empty lua file, e.g. “a.lua” in HelloWorld/Resource/ folder
# add

require "a.lua"

in helloworld.lua
# build and run, the program crashes with “buffer too small” msgbox.

walzer@cocos2d-x.org 2011-09-01 01:55
  • Status changed from New to Rejected

Error usage.

Use

require “a”

instead of

require “a.lua”

walzer@cocos2d-x.org 2012-05-25 08:06
  • Project changed from cocos2d-x to cpp
  • Category deleted (4)
  • Target version deleted (cocos2d-1.0.1-x-0.9.2)

Atom PDF

Status:Rejected
Start date:2011-07-26
Priority:Normal
Due date:
Assignee:-
% Done:

0%

Category:-
Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.