[PATCH] ntdll: Increase size of buffer used to read lines of /proc/cpuinfo
James McKenzie
jjmckenzie51 at earthlink.net
Wed Nov 24 20:19:11 CST 2010
On 11/24/10 6:56 PM, Vitaliy Margolen wrote:
> On 11/24/2010 12:23 PM, jimportal at gmail.com wrote:
>> From: James Eder<jimportal at gmail.com>
>>
>> - while (fgets(line,200,f) != NULL)
>> + while (fgets(line,450,f) != NULL)
> You might as well then change this to "sizeof(line)".
Just for my edification, is there not a better way then setting the
variable line to a flexible length for this purpose. This might prevent
'growing' the variable over time.
James McKenzie
More information about the wine-devel
mailing list