--- gvpe/src/gvpectrl.C 2011/02/15 13:31:23 1.11 +++ gvpe/src/gvpectrl.C 2011/03/06 13:49:50 1.12 @@ -253,7 +253,8 @@ f = fopen (fname, "a"); - if (!f) + /* some libcs are buggy and require an extra seek to the end */ + if (!f || fseek (f, 0, SEEK_END)) { perror (fname); exit (EXIT_FAILURE);