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)
Mon, Mar 25, 12:45 AM
Unknown Object (File)
Dec 21 2023, 2:32 PM
Unknown Object (File)
Nov 17 2023, 4:33 AM
Unknown Object (File)
Sep 27 2023, 11:40 AM
Unknown Object (File)
Sep 13 2023, 12:04 PM
Unknown Object (File)
Jun 6 2023, 3:14 AM
Unknown Object (File)
May 12 2023, 5:30 AM
Unknown Object (File)
Mar 4 2023, 12:24 AM
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