T. Modes hat am 19.07.2022 um 08:55 folgendes geschrieben:
> > However, I get a seg fault when starting hugin on two different
> > machines.
> >
>
> Should be fixed now.
>
> BTW why do you unset environment variables by hand?
Thanks a lot for the quick fix!
I can confirm that I don't experience a seg fault anymore when
applying your patch / changeset 8476:edfddc6070ca (Fixes crash
when environment variable XDG_DATA_HOME is not set)
to hugin-2021.0.0 source.
I don't unset XDG_DATA_HOME by hand, this was just to reproduce
the seg fault. XDG_DATA_HOME is just never set in my config which
is fine according to the XDG spec [1]:
[ $XDG_DATA_HOME defines the base directory relative to which
[ user-specific data files should be stored. If $XDG_DATA_HOME is either
[ not set or empty, a default equal to $HOME/.local/share should be used.
Regards,
Manuel.
[1]
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html