----- "Lennart Borgman" <[email protected]> wrote: > No, please look in > > http://ourcomments.org/Emacs/DL/EmacsW32/
I found the uptodate source in http://ourcomments.org/Emacs/DL/EmacsW32/src/emacs-CvsP090915.zip in emacs/lib-src/emacsclient.c and w32emacsclient.h (there's a "my" subdir with a different version, I assume that's irrelevant). You're right it doesn't have the same bug. finish_messages can still return an unset value if WINDOWSNT is not defined, but that's not the bug here. I guess I don't know where it is then. :-( In case it helps or anyone else wants to try, here's where it is when it exits; looks like it's exiting from an atexit func: msvcrt.dll!_exit() > emacsclientw.exe!004050bc() ntdll.dll!_rtlfreeh...@12() + 0x130 bytes ntdll.dll!_rtldebugsizeh...@12() + 0x9e bytes ntdll.dll!_rtlsizeh...@12() + 0x3a90a bytes msvcrt.dll!__msize() + 0xb8 bytes msvcrt.dll!__unlockexit() + 0x7 bytes msvcrt.dll!__onexit() + 0x37 bytes msvcrt.dll!_atexit() + 0xd bytes msvcrt.dll!_atexit() + 0xd bytes emacsclientw.exe!0040124b() emacsclientw.exe!004012b8() kernel32.dll!_baseprocessst...@4() + 0x23 bytes Sorry to have to give up. I'll just wrap it with a shell script that always returns 0. -- Gary
