On 05/05/14 06:45, Ashwini Sharma wrote: > Hi Rob, list, > > in __toy_init()__ function, the __toys__ variable is not reset > properly. > memset(&toys, 0, offsetof(struct toy_context, rebound)); > > reason: the __toys__ is set to __0__ only until __rebound__ > is found. Due to the restructuring of __toy_context__, it is failing. > > This causes an issue when __xexec()__ is called and has toys.optflags or > others are set. > May be need to put rebound at the bottom of struct again. > > regards, > Ashwini
Indeed. And I added a comment to remind me why it lives there. Thanks, Rob _______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
