Bug 551

Summary: utmpx defines incomplete resulting in a build failure
Product: Sudo Reporter: Gustavo Zacarias <gustavo>
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: normal    
Priority: low    
Version: 1.8.4   
Hardware: PC   
OS: Linux   
Attachments: The fix

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.