diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-06-16 01:11:18 (GMT) |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-06-16 01:14:27 (GMT) |
commit | faabe90b69551e14317d85f376f040a3dc3ae0bd (patch) | |
tree | aa87184ccab8fa70825928fd3a8ef4d7e7051700 /tests/auto/qwmatrix/qwmatrix.pro | |
parent | efb335ea2623c6261810c1594aeda5b655d1f89e (diff) | |
download | Qt-faabe90b69551e14317d85f376f040a3dc3ae0bd.zip Qt-faabe90b69551e14317d85f376f040a3dc3ae0bd.tar.gz Qt-faabe90b69551e14317d85f376f040a3dc3ae0bd.tar.bz2 |
Fixes crash of qmake on Windows Vista Business x64 (and undefined
behavior on all versions of Windows).
setvbuf handles its arguments differently on Unix and Windows.
Windows uses the size parameter when the given buffer is NULL, which
appears to violate C89/C99. Giving a size parameter of 0 with a NULL
buffer caused qmake to crash on Windows Vista Business x64.
Windows also can't set line buffering with setvbuf _at all_ according to
the MSDN documentation, so don't bother calling it on Windows.
Diffstat (limited to 'tests/auto/qwmatrix/qwmatrix.pro')
0 files changed, 0 insertions, 0 deletions