[haiku-commits] Re: BRANCH midar-github.master - src/apps/terminal

  • From: Axel DÃrfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 18 Nov 2012 21:38:41 +0100

On 11/18/2012 09:34 PM, Axel DÃrfler wrote:
On 11/18/2012 06:48 PM, midar-github.master wrote:
-    UTF8Char pattern[patternByteLen];
+    std::vector<UTF8Char> pattern(patternByteLen);
Out of curiosity: what's the problem here for clang?

Probably out of stupidity... is there an alloca()? That might be the better choice for some of these issues, at least (or a fixed size array that's always just large enough).

Bye,
   Axel.


Other related posts: