diff options
author | Gaius Mulley <gaiusmod2@gmail.com> | 2025-01-25 18:22:35 +0000 |
---|---|---|
committer | Gaius Mulley <gaiusmod2@gmail.com> | 2025-01-25 18:22:35 +0000 |
commit | 2531cb1d20d9c5b8a5390816a10a018c59506250 (patch) | |
tree | 9c24cbe7362ddd5278038c3bb3fed2a404bbe30b /gcc/fortran/class.cc | |
parent | bee1910b891f897fcd1789d1dbd3937621354943 (diff) | |
download | gcc-2531cb1d20d9c5b8a5390816a10a018c59506250.zip gcc-2531cb1d20d9c5b8a5390816a10a018c59506250.tar.gz gcc-2531cb1d20d9c5b8a5390816a10a018c59506250.tar.bz2 |
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 <gaiusmod2@gmail.com>
Diffstat (limited to 'gcc/fortran/class.cc')
0 files changed, 0 insertions, 0 deletions