fflush() buffer before returning - ensures def.r is written to.,
required for either octave-2.1.35 or linux-2.4.12 (not sure which).