Bug 1497

Summary: seteuid should be garded by configure not #ifdefs
Product: xorg Reporter: Francois Genolini <fgenolini>
Component: Lib/XlibAssignee: Jeremy Huddleston Sequoia <jeremyhu>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: high Keywords: patch
Version: unspecified   
Hardware: PA-RISC (HP)   
OS: HP-UX   
Whiteboard: 2011BRB_Reviewed
i915 platform: i915 features:
Attachments:
Description Flags
patch none

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
#endif

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]
patch
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.