April 19, 2012 [dmd-internals] [D-Programming-Language/dmd] 87c626: fix StringExp length | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 87c626a525bcdf92b09a2980ce10a380a0625946 https://github.com/D-Programming-Language/dmd/commit/87c626a525bcdf92b09a2980ce10a380a0625946 Author: dawg <dawg@dawgfoto.de> Date: 2012-04-19 (Thu, 19 Apr 2012) Changed paths: M src/expression.c Log Message: ----------- fix StringExp length - buf.size -> buf.offset - extractData resets buf and depending on the evaluation order the length can become -1 Commit: 959364e307df7d0b2bb3183d30cff8b90dfa916f https://github.com/D-Programming-Language/dmd/commit/959364e307df7d0b2bb3183d30cff8b90dfa916f Author: Walter Bright <walter@walterbright.com> Date: 2012-04-19 (Thu, 19 Apr 2012) Changed paths: M src/expression.c Log Message: ----------- Merge pull request #891 from dawgfoto/fixArrayLiteralExpToString fix StringExp of length -1 Compare: https://github.com/D-Programming-Language/dmd/compare/7a8d3ea...959364e |
Copyright © 1999-2021 by the D Language Foundation