and just use char*.
Ensure the getopt tests still work.
modified: dwarfdump/dwarfdump.c
modified: dwarfdump/dwgetopt.c
modified: dwarfdump/esb.c
modified: dwarfdump/esb.h
modified: dwarfdump/getopttest.c
modified: dwarfdump/globals.h
modified: dwarfdump/print_die.c
modified: dwarfdump/print_frames.c
modified: dwarfdump/print_lines.c
modified: dwarfdump/print_strings.c
modified: dwarfdump/tag_attr.c
modified: dwarfdump/tag_tree.c
Fixing errnumber->string array and arranging
that we test it during build.
modified: libdwarf/Makefile.in
renamed: libdwarf/dwarf_error.c -> libdwarf/dwarf_errmsg_list.c
modified: libdwarf/dwarf_error.c
because the default internal buffer size (240), was big enough
to receive the resulting output.
esb.c, esb.h:
* Missing prefix 'esb' for 'allocate_more'
* Initial buffer size reduced to 16.
* New function 'esb_open_null_device': open 'null' device
* New function 'esb_close_null_device': close 'null' device
* New function 'esb_allocate_more_if_needed': allocate more
space if required, leaving the contents unchanged, so the
caller, does not need to worry about it.
There are 2 cases:
Windows: use the 'null' device to get the required space
UNIX: use a big buffer (512). But if the result is bigger,
the original problem will be shown.
* The function 'esb_append_printf_ap', now takes care of
increasing the buffer if needed.
dwarfdump.c: In the case of windows, open and close the 'null'
device, in order to setup the esb module.