This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-trx/+/14863 ) Change subject: Timeval: Restore output stream flags after changing them ...................................................................... Timeval: Restore output stream flags after changing them Change-Id: I866505f29ed56d8f3ba3aaba70c0d82479987c64 Closes: CID#149361 --- M CommonLibs/Timeval.cpp 1 file changed, 2 insertions(+), 1 deletion(-) Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified diff --git a/CommonLibs/Timeval.cpp b/CommonLibs/Timeval.cpp index fd1bcda..420dd04 100644 --- a/CommonLibs/Timeval.cpp +++ b/CommonLibs/Timeval.cpp @@ -87,8 +87,9 @@ ostream& operator<<(ostream& os, const Timeval& tv) { - os.setf( ios::fixed, ios::floatfield ); + ios_base::fmtflags flags_backup = os.setf( ios::fixed, ios::floatfield ); os << tv.seconds(); + os.flags( flags_backup ); return os; } -- To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/14863 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-trx Gerrit-Branch: master Gerrit-Change-Id: I866505f29ed56d8f3ba3aaba70c0d82479987c64 Gerrit-Change-Number: 14863 Gerrit-PatchSet: 3 Gerrit-Owner: laforge <laforge at gnumonks.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge at gnumonks.org> Gerrit-CC: pespin <pespin at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190721/96135226/attachment.htm>