Update fstapi.c to latest from SVN.