Re: program exit code, "at exit" handler and explicit close of shared objects

2019-11-05 Thread Roumen Petrov
Hello, As non-regular user I did tests when I have access to environment. Ken Brown wrote: On 10/29/2019 10:53 AM, Ken Brown wrote: On 10/26/2019 11:07 AM, Roumen Petrov wrote: First test is as is: [SNIP] I ran this second version of test-dlclose (with DLCLOSE_ATEXIT defined) under

Re: program exit code, "at exit" handler and explicit close of shared objects

2019-10-29 Thread Ken Brown
On 10/29/2019 10:53 AM, Ken Brown wrote: > On 10/26/2019 11:07 AM, Roumen Petrov wrote: >> >> After additional tests (research) I was able to isolate issues to simple test >> case. Please find attached "test-dlclose.c" and "Makefile". >> First test is as is: >> >> $ make >> cc -g -Wall -Wextra   

Re: program exit code, "at exit" handler and explicit close of shared objects

2019-10-29 Thread Ken Brown
On 10/26/2019 11:07 AM, Roumen Petrov wrote: > > After additional tests (research) I was able to isolate issues to simple test > case. Please find attached "test-dlclose.c" and "Makefile". > First test is as is: > > $ make > cc -g -Wall -Wextra    test-dlclose.c   -o test-dlclose >

program exit code, "at exit" handler and explicit close of shared objects

2019-10-26 Thread Roumen Petrov
Hello Cygwin developers, This email is mainly for issue with exist code for a program. It is inspired from openssl issue #10107 - "test_ssl_old freezes on cygwin". Actually after one or another work-around "unfreeze" test and this shows that one of subtests fail. This failure is main topic of