- Adds the dependency on the Bash's libmalloc
- Removes the libintl dependency, since it's unused
- Adds the `running_trap' global variable, since libmalloc depends on
it when the `SHELL' macro is defined (see [1])
- Removes compiler warning due to missing return type in main function
After thes
gcc version 8.2.0 (Debian 8.2.0-13) x86_64-linux-gnu
```
malloc.c:333:3: warning: incompatible implicit declaration of built-in function
‘abort’
malloc.c:333:3: note: include ‘’ or provide a declaration of ‘abort’
```
---
lib/malloc/malloc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/li
The warning is raised by Clang (7.0.1-4) when sizeof(wchar_t) is 4
| dualbus@system76-pc:~/src/gnu/bash/lib/sh$ make unicode.o
| clang -c -I. -I../.. -I../.. -I../../lib -I../../include -I.
-DHAVE_CONFIG_H -DSHELL -ggdb -O0 -Wno-parentheses -Wno-format-security
unicode.c
| unicode.c:262:69
For the record, my colleague found the issue. There is bug in libc, race
condition between signal and popen.
Thank you for the report
--
Vlad