[PATCH v2] a68: Add lseek(3) to the POSIX prelude

Pietro Monteiro pietro@sociotechnical.xyz
Fri Nov 14 05:36:22 GMT 2025


On Thu, Nov 13, 2025, at 4:02 AM, Jose E. Marchesi wrote:
> Hi Pietro!
> Thanks for the new version of the patch.

Thanks for the reviews!

>> +begin int fd = fopen ("../../ga68", file_o_default);
>
> If everything works properly ga68 should be safe here, but if there is a
> bug somewhere, not necessarily in lseek, we may be trashing the program
> under test :)
>
> I think it would be better to not use ga68 as guinea pig or, at at
> minimum, use file o rdonly...
>
> Other than this the patch looks great.

I changed the test to open ga68 readonly and committed it. The patch I
just pushed for fopen fixed the issues I was having with this test and
parallel make.

pietro


More information about the Algol68 mailing list