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/


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to