Hello.

Steffen Nurpmeso wrote in <20190923225512.qvkav%stef...@sdaoden.eu>:
 |Martin Neitzel wrote in <201909232142.x8nlg2gv013...@oker.escape.de>:
 ||Steffen Nurpmeso <stef...@sdaoden.eu> wrote:
 ||>|$ bash ../mk/make-rules.sh su/*.c
 ...
 ||>|su-018.o: $(SU_SRCDIR)su/utf.cawk: su/utf.c makes too many open files
 ...
 ||> Ah!  Of course, i had totally forgotten about this!  The Apple awk
 ||> leaks file descriptors, 
 ||
 ||Maybe rather your *script* is leaking the file descriptors.  I see you
 ...
 ||I suggest to add the close into the EOF check following right after
 ||the getline:
 ...
 |Interesting.  The close()s have been removed in
 ...
 |But i see that the "Parse file loop" loop does not close the fd
 |either, mess!  Will fix tomorrow!  Thanks for the report!!

I applied your patch, it is on [master] and the [stable/*] series.
GNU awk is smart enough to recognize dangling references, good!
Will be in the next release, likely i will do a v14.9.16 because
we accumulate little things, here and there.

Yes, it seems i was focused on that disliked usage of the
basename(1) and dirname(1) utilities, which i used once i hacked
together this build script.  When Alexander then came over with
that problem it "must have been this thorn", and thus became
replaced.  Simsalabim.  Quite magic, heh.  After Alexander then
said building on Mac works, i did not look any further.

Thanks for looking into that, Martin.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

Reply via email to