[RPL/2] RPL/2 4.1.36

BERTRAND Joël joel.bertrand at systella.fr
Thu Oct 16 13:48:47 CEST 2025


	Hello,

	4.1.36 release is done with some new features and bugfixes.
Tools and rplcas directories were upgraded.

News:
- PADDING parameter in CIPHER instruction;
- STDFLX (standard flux): redirection of stdin/stdout/stderr when a
program is daemonized with DAEMONIZE.

Bugs fixed:
- CIPHER (strange buffer overflox in openssl);
- ->HMS and HMS->;
- CLOSE (with keyed file);
- ATEXIT (atexit routine is called after KILL and /never/ not after
abort). Please not that STOP should also call atexit routine. This bug
will be fixed as soon as possible.

ABORT is an emergency stop. Program immediately stops (with all childs
and parents created by SPAWN or DETACH).

KILL kindly stops current process (and childs) and thus, execute
registered atexit routine.

STOP kindly stops a child (and should of course call atexit routine).

Example:
hilbert:[~/rpl-test] > ./abort.rpl
+++RPL/2 (R) version 4.1.37 (Jeudi 16/10/2025, 13:45:59 CEST)
+++Copyright (C) 1989 à 2024, 2025 BERTRAND Joël
1
EXIT
2
3
4
^C+++Interruption
#!/home/bertrand/cvs/build/src/rpl -csdp

A
<<
        'B' detach
        1 100 for I
                I disp
                1 wait
        next
>>

B
<<
        'C' atexit
        kill
>>

C
<<
        "EXIT" disp
>>

	Regards,

	JB

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://www.systella.fr/pipermail/rpl2/attachments/20251016/68f345af/attachment.sig>


More information about the RPL2 mailing list