osmo_fsm and time_t

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/OpenBSC@lists.osmocom.org/.

Harald Welte laforge at gnumonks.org
Sat May 18 11:05:49 UTC 2019


Hi Neels,

in the following commit:

commit 89991fdb7c01fa42e323577b4026985e580763cf
Author: Neels Hofmeyr <neels at hofmeyr.de>
Date:   Mon Jan 28 19:06:53 2019 +0100

you introduce language about restricting the timeout to a signed 32bit value,
as time_t is not well-defined on 32bit systems.

What I'm somehow missing is where we are using time_t in this context? Neither
osmo_fsm code nor the underlying osmo_timer_list seems to be using time_t.

So why would we bother about time_t here?

Thanks for sharing your thoughts.

Regards,
	Harald

-- 
- Harald Welte <laforge at gnumonks.org>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)



More information about the OpenBSC mailing list