------- Comment #4 from corinl at gmx dot de 2009-02-12 07:37 ------- here's the copy from the precompiled header file (.ii), may be it helps: (check_permissions_local removed, it was just for test..same error as before)
uid_t fs_perms_uid_orig; gid_t fs_perms_gid_orig; if (check_permissions) { fs_perms_uid_orig = setfsuid(in->uid); fs_perms_gid_orig = setfsgid(in->gid); }; out->op_errno=((statvfs(path, &out->stbuf)==0)?0:(*__errno_location ())); if (check_permissions) { setfsuid(fs_perms_uid_orig); setfsgid(fs_perms_gid_orig); }; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39133