* init.cc (search_for): Put this in shared section or suffer subtle problems
with the tls. * pinfo.cc (status_exit): Add debug output to report on unexpected exit. * tls_pbuf.cc (tmp_pathbuf::c_get): Add more details to internal error.
This commit is contained in:
@@ -39,7 +39,7 @@ char *
|
||||
tmp_pathbuf::c_get ()
|
||||
{
|
||||
if (tls_pbuf.c_cnt >= TP_NUM_C_BUFS)
|
||||
api_fatal ("Internal error: TP_NUM_C_BUFS too small.");
|
||||
api_fatal ("Internal error: TP_NUM_C_BUFS too small: %u > %u", tls_pbuf.c_cnt, TP_NUM_C_BUFS);
|
||||
if (!tls_pbuf.c_buf[tls_pbuf.c_cnt]
|
||||
&& !(tls_pbuf.c_buf[tls_pbuf.c_cnt] = (char *) malloc (NT_MAX_PATH)))
|
||||
api_fatal ("Internal error: Out of memory for new path buf.");
|
||||
|
Reference in New Issue
Block a user