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

--- Comment #14 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Gaius Mulley <ga...@gcc.gnu.org>:

https://gcc.gnu.org/g:2531cb1d20d9c5b8a5390816a10a018c59506250

commit r15-7210-g2531cb1d20d9c5b8a5390816a10a018c59506250
Author: Gaius Mulley <gaiusm...@gmail.com>
Date:   Sat Jan 25 18:22:35 2025 +0000

    PR modula2/118010 libc.def lseek procedure off_t bugfix

    This patch fixes calls to lseek from m2 sources.  The new data
    type SYSTEM.COFF_T is used instead of SYSTEM.CCSIZE_T.

    gcc/m2/ChangeLog:

            PR modula2/118010
            * gm2-libs-log/FileSystem.mod (doModeChange): Replace
            LONGINT with COFF_T.
            (SetPos): Use COFF_T for the return value and offset type
            when calling lseek.
            * gm2-libs/FIO.mod (SetPositionFromBeginning): Convert pos
            to COFF_T.
            (SetPositionFromEnd): Ditto.
            * mc-boot/GFIO.cc: Rebuild.
            * mc-boot/Glibc.h: Ditto.
            * pge-boot/GFIO.cc: Ditto.
            * pge-boot/Glibc.h: Ditto.

    Signed-off-by: Gaius Mulley <gaiusm...@gmail.com>

Reply via email to