Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 135974 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/xlibi18n/lcFile.c (-1 / +5 lines)
Lines 269-275 #else Link Here
269
	    if (seteuid(0) != 0) {
269
	    if (seteuid(0) != 0) {
270
		priv = 0;
270
		priv = 0;
271
	    } else {
271
	    } else {
272
		seteuid(oldeuid);
272
		if (seteuid(oldeuid) == -1) {
273
		    /* XXX ouch, coudn't get back to original uid 
274
		     what can we do ??? */
275
		    _exit(127);
276
		}
273
		priv = 1;
277
		priv = 1;
274
	    }
278
	    }
275
#endif
279
#endif

Return to bug 135974