Bug 1497 - seteuid should be garded by configure not #ifdefs
Summary: seteuid should be garded by configure not #ifdefs
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xlib (show other bugs)
Version: unspecified
Hardware: PA-RISC (HP) HP-UX
: high normal
Assignee: Jeremy Huddleston Sequoia
QA Contact:
Whiteboard: 2011BRB_Reviewed
Keywords: patch
Depends on:
Reported: 2004-09-29 21:32 UTC by Francois Genolini
Modified: 2011-10-15 17:23 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

patch (797 bytes, patch)
2011-09-24 16:45 UTC, Jeremy Huddleston Sequoia
no flags Details | Splinter Review

Description Francois Genolini 2004-09-29 21:32:15 UTC
HP-UX does not have seteuid

in libX11-6.2.1/src/lcFile.c
however this is only guarded by

#ifdef __UNIX0S2__
# define seteuid setuid

there should instead by a configure test for it.
Comment 1 Jeremy Huddleston Sequoia 2011-09-24 16:45:26 UTC
Created attachment 51579 [details] [review]
Comment 2 Jeremy Huddleston Sequoia 2011-09-24 16:50:52 UTC
Fixed in 0ca4153a373e2af7a9eb3cef003393ab332bc79e

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.