GNOME Bugzilla – Bug 551212
build failure: length undeclared
Last modified: 2008-09-07 22:28:37 UTC
Build got broken after http://svn.gnome.org/viewvc/pygobject?view=revision&revision=965 gfile.override: In function '_wrap_g_file_load_contents': gfile.override:199: error: 'length' undeclared (first use in this function) gfile.override:199: error: (Each undeclared identifier is reported only once gfile.override:199: error: for each function it appears in.) gfile.override: In function '_wrap_g_file_load_contents_finish': gfile.override:273: error: 'length' undeclared (first use in this function) This is because length was not spelled correctly before (lenght): - return Py_BuildValue("(sks)", contents, lenght, etag_out); + return Py_BuildValue("(s#ks)", contents, length, length, etag_out);
Created attachment 118211 [details] [review] Fixed spelling of length variable name
Committed. Jonathan: please test that after your changes product at least keeps compiling fine.
*** Bug 551213 has been marked as a duplicate of this bug. ***
My apologies. I'd fully corrected the spelling in my working copy, but then I only committed the Py_BuildValue lines. Without building the result. I suck.