Sujet : Re: Toad User abort with cut: ... -cut
De : sjack (at) *nospam* dontemail.me (sjack)
Groupes : comp.lang.forthDate : 17. Oct 2024, 19:25:09
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <verkq5$2rvc3$1@dont-email.me>
References : 1
User-Agent : tin/2.6.4-20240224 ("Banff") (Linux/6.8.0-45-generic (x86_64))
Ha,ha. Fooled myself looking at file id (FDIID) for zero value to
indicate cleanup took place. When file i/o failed because file foo
didn't exist, FDIID never got set so was always zero. (there were
other means of verifying that cleanup code got accessed, e.g. the
"FVIEWS abandon' being printed.
But to see FDIID being reset I needed to at least get the file opened
and then have it fail. So just open a corrupt file. No! Whatever I
put into a file, nulls and control characters, does not make the i/o
fail! To have failure has to be done on my end in processing the
data. So patched UABORT into a low level part that was acting
on the data. Mission achomplished.
--
me