f88e6caca2
change __progname to point at the new storage otherwise it ends up pointing at freed memory which leads to confusing garbled error messages.