https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108530

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>:

https://gcc.gnu.org/g:e00d5cafbe1a77772ecc57eec921ff0b7dd41344

commit r13-5339-ge00d5cafbe1a77772ecc57eec921ff0b7dd41344
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Tue Jan 24 23:43:24 2023 +0000

    libstdc++: Use /etc/sysconfig/clock for std::chrono::current_zone()
[PR108530]

    On some systems /etc/localtime is a tzfile, not a symlink to one. We
    cannot use it to determine the current time zone in that case. See if
    /etc/sysconfig/clock sets the variable DEFAULT_TIMEZONE instead.

    libstdc++-v3/ChangeLog:

            PR libstdc++/108530
            * src/c++20/tzdb.cc (current_zone): Look for DEFAULT_TIMEZONE in
            /etc/sysconfig/clock.

Reply via email to