Thanks for the bug report and patch. I've added the patch referenced in this bug report to the GPT fdisk git repository. I expect to make a new 1.0.9 release with this fix in the next few days.
https://sourceforge.net/p/gptfdisk/code/ci/4be26d7228a5dadfd04488618f08a29f0c67dd8c/ -- Rod Smith rodsm...@rodsbooks.com http://www.rodsbooks.com