Re: The loadables are built during install

2018-09-09 Thread Chet Ramey
On 9/7/18 4:39 PM, Christian Weisgerber wrote: > There is an issue in the build framework of bash 4.4.23 (and 5.0-alpha): > "make all" does not build examples/loadables. True. Not that many people want them if they're just building the shell. You can get them if you run `make everything'. > "make

Re: examples/loadables/finfo.c type problems

2018-09-09 Thread Chet Ramey
On 9/7/18 5:28 PM, Christian Weisgerber wrote: > Compiling examples/loadables/finfo.c (bash 4.4.23, 5.0-alpha) on > OpenBSD produces various warnings about ill-matched types: Yeah, it looks like OpenBSD has some unique type sizes here. Unfortunately, there aren't portable printf format specifiers

Re: examples/loadables/finfo.c type problems

2018-09-09 Thread Christian Weisgerber
Chet Ramey: > > printf("%ld\n", (long) st->st_size); > > > > which potentially truncate values. > > Pretty much all the systems bash runs on these days have 64-bit longs. > How big a file do you have? But the fix is the same as above. 32-bit platforms (IA-32, ARMv7) are still ar