git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48399
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2009-09-15 Kevin Ollivier <kevino@theolliviers.com>
+
+ wx build fix. Allow waf build to support Python < 2.6.
+
+ * wx/build/waf_extensions.py:
+
2009-09-14 Chris Marrin <cmarrin@apple.com>
Reviewed by Oliver Hunt.
2009-09-14 Chris Marrin <cmarrin@apple.com>
Reviewed by Oliver Hunt.
filename = ''
if sys.platform.startswith('win') and len(' '.join(s)) > 32000:
import tempfile
filename = ''
if sys.platform.startswith('win') and len(' '.join(s)) > 32000:
import tempfile
- file = tempfile.NamedTemporaryFile(delete=False)
- filename = file.name
- file.write(' '.join(s[1:]))
- file.close()
+ (fd, filename) = tempfile.mkstemp()
+ os.write(fd, ' '.join(s[1:]))
+ os.close(fd)
s = [s[0], '@' + filename]
s = [s[0], '@' + filename]