commit | 9b112799bc4faa32cfca0faa7de5a725f6cdab29 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Apr 08 17:23:11 1999 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Apr 08 17:23:11 1999 +0000 |
tree | e2d70c2b7200c7daa5da174220c39bc100f9e8f9 | |
parent | 60cc90ec98278f9472d7772d2fea9a68b0a23afc [diff] |
On Windows, we suddenly find, strftime() may return "" for an unsupported format string. (I guess this is because the logic for deciding whether to reallocate the buffer or not has been improved.) This caused the test code to crash on result[0]. Fix this by assuming an empty result also means the format is not supported.