bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #34832] enable tls variable in windows code for newish gcc


From: Paul D. Smith
Subject: [bug #34832] enable tls variable in windows code for newish gcc
Date: Tue, 15 Nov 2011 19:59:15 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110921 Ubuntu/10.10 (maverick) Firefox/3.6.23

Follow-up Comment #12, bug #34832 (project make):

The reason the buffer is static is that if you allocate a dynamic buffer,
someone has to free it.  In POSIX we use the strerror() function which returns
a const pointer to a static string that never needs to be freed so there's no
facility in the code currently for freeing the error string buffer.

It could be done but it seems like it would add a lot of complexity.  Not sure
if the benefits are worth the complexity.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34832>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]