Bug 551 - utmpx defines incomplete resulting in a build failure
utmpx defines incomplete resulting in a build failure
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Sudo
1.8.4
PC Linux
: low normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-30 06:32 MDT by Gustavo Zacarias
Modified: 2012-05-17 11:10 MDT (History)
0 users

See Also:


Attachments
The fix (675 bytes, patch)
2012-03-30 06:32 MDT, Gustavo Zacarias
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo Zacarias 2012-03-30 06:32:25 MDT
Created attachment 338 [details]
The fix

The utmpx defines used in utmp.c for when the target system lacks utmpx are incomplete, resulting in a build failure in such a scenario.
Fix attached, tested with sudo-1.8.4p4 with a uClibc-0.9.31 toolchain.
Comment 1 Todd C. Miller 2012-03-30 07:56:31 MDT
Thanks for the patch, it will be in sudo 1.8.5, which is currently in beta.
Comment 2 Todd C. Miller 2012-05-17 11:10:53 MDT
Fixed in sudo 1.8.5.