gcc/libgm2/libm2iso
Gaius Mulley f0a86bbc82 [PATCH] [PR modula2/117203] Followup add Delete procedure function
This patch provides GetFileName procedure function for
FIO.File, FileSystem.File and IOChan.ChanId.  The
return result from these procedures can be passed into
StringFileSysOp.Unlink to complete the required delete.

gcc/m2/ChangeLog:

	PR modula2/117203
	* gm2-libs-log/FileSystem.def (GetFileName): New
	procedure function.
	(WriteString): New procedure.
	* gm2-libs-log/FileSystem.mod (GetFileName): New
	procedure function.
	(WriteString): New procedure.
	* gm2-libs/SFIO.def (GetFileName): New procedure function.
	* gm2-libs/SFIO.mod (GetFileName): New procedure function.
	* gm2-libs-iso/IOChanUtils.def: New file.
	* gm2-libs-iso/IOChanUtils.mod: New file.

libgm2/ChangeLog:

	PR modula2/117203
	* libm2iso/Makefile.am (M2DEFS): Add IOChanUtils.def.
	(M2MODS): Add IOChanUtils.mod.
	* libm2iso/Makefile.in: Regenerate.

gcc/testsuite/ChangeLog:

	PR modula2/117203
	* gm2/isolib/run/pass/testdelete2.mod: New test.
	* gm2/pimlib/logitech/run/pass/testdelete2.mod: New test.
	* gm2/pimlib/run/pass/testdelete.mod: New test.

(cherry picked from commit 620a40fa88)

Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
2025-07-18 08:48:22 +01:00
..
ChanConsts.h
ErrnoCategory.cc modula2: Defend against no ENOTBLK definition 2025-03-20 22:23:38 +00:00
Makefile.am [PATCH] [PR modula2/117203] Followup add Delete procedure function 2025-07-18 08:48:22 +01:00
Makefile.in [PATCH] [PR modula2/117203] Followup add Delete procedure function 2025-07-18 08:48:22 +01:00
RTco.cc modula2: libm2iso/RTco.cc tidyup use bool instead of int 2024-01-05 16:39:46 +00:00
m2rts.h PR 107630 runtime libs should be self-contained 2023-03-16 20:34:32 +00:00
wrapclock.cc PR modula2/112110: fails to build on freebsd when compiling wrapclock.cc 2023-10-27 18:42:09 +01:00
wrapsock.c PR 109125 Modula2 SIGBUS in m2pim_ldtoa_ldtoa 2023-03-14 19:52:11 +00:00
wraptime.cc [PATCH] PR modula2/115276: libgm2 wraptime.cc field access all return -1. 2025-05-13 19:05:40 +01:00