I think this is because the module name is no longer in the .spec file. Lines
71-73 of winapi_extract look for "name" in the .spec file, which no longer
exists. Should we be using the file name as the module name?
From: Francois Gouget fgouget@free.fr
To: wine-devel@winehq.com
cc: Patrik Stridvall ps@leissner.se
Subject: Errors running winapi_extract --stub-statistics
Date: Fri, 19 Jul 2002 00:19:15 -0700 (PDT)
Hi,
I was trying to update the API statistics but I got the following
errors:
$ ./tools/winapi/winapi_extract --stub-statistics
Use of uninitialized value in hash element at
./tools/winapi/winapi_extract line 97.
Use of uninitialized value in hash element at
./tools/winapi/winapi_extract line 97.
...
There is quite a few of these. So I tentatively modified the line as
follows:
$module2entries{$module} = $entries if (defined $module);
But then I got:
$ ./tools/winapi/winapi_extract --stub-statistics
controls/button.c (file 1 of 796)Not a HASH reference at
tools/winapi_check/winapi_parser.pm line 32.
So obviously there is another problem or my previous 'fix' was not so
good. Any ideas?
--
Francois Gouget fgouget@free.fr http://fgouget.free.fr/
In a world without fences who needs Gates?