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
Unknown Object (File)
Tue, Nov 26, 5:34 AM
Unknown Object (File)
Tue, Nov 26, 4:03 AM
Unknown Object (File)
Oct 26 2024, 9:26 PM
Unknown Object (File)
Oct 14 2024, 4:53 AM
Unknown Object (File)
Oct 2 2024, 1:07 PM
Unknown Object (File)
Oct 2 2024, 1:07 PM
Unknown Object (File)
Oct 2 2024, 1:07 PM
Unknown Object (File)
Oct 2 2024, 12:54 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 Not Applicable
Unit
Tests Not Applicable