Page MenuHomeFreeBSD

Fix address annotation in xml output from w
ClosedPublic

Authored by karels on Aug 24 2019, 1:09 AM.
Tags
None
Referenced Files
F167512197: D21390.diff
Sat, Aug 22, 9:42 AM
Unknown Object (File)
Fri, Aug 21, 9:18 AM
Unknown Object (File)
Fri, Aug 21, 2:16 AM
Unknown Object (File)
Fri, Aug 14, 4:19 AM
Unknown Object (File)
Sat, Aug 8, 6:25 PM
Unknown Object (File)
Sat, Aug 8, 5:38 PM
Unknown Object (File)
Sat, Aug 8, 11:47 AM
Unknown Object (File)
Wed, Aug 5, 5:20 PM
Subscribers

Details

Summary

The libxo xml feature of adding an annotation with the "original"
address from the utmpx file if it is different than the final "from"
field was broken by r351379. This was pointed out by the gcc error
that save_p might be used uninitialized. Save the original address
as needed in each entry, don't just use the last one from the previous
loop.

Test Plan

compared output to older version, is once again the same

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 26058
Build 24601: arc lint + arc unit