mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-06 02:02:42 +02:00
commit bash-20050106 snapshot
This commit is contained in:
@@ -134,6 +134,7 @@ xfree (string)
|
||||
#ifdef USING_BASH_MALLOC
|
||||
#include <malloc/shmalloc.h>
|
||||
|
||||
extern char *rl_completer_word_break_characters;
|
||||
PTR_T
|
||||
sh_xmalloc (bytes, file, line)
|
||||
size_t bytes;
|
||||
@@ -154,6 +155,9 @@ sh_xmalloc (bytes, file, line)
|
||||
#endif /* !HAVE_SBRK */
|
||||
}
|
||||
|
||||
if (temp == rl_completer_word_break_characters)
|
||||
itrace("xmalloc:%s:%d: reallocating rl_completer_word_break_characters");
|
||||
|
||||
return (temp);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user