Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Cleanup) Cygwin: Eggdrop does not need FreeConsole() anymore #1068

Closed
wants to merge 1 commit into from

Conversation

michaelortmann
Copy link
Member

@michaelortmann michaelortmann commented Nov 10, 2020

Found by: Travis Howell
Patch by: Travis Howell
Fixes: part of #176

One-line summary:
Eggdrop does not need FreeConsole() anymore

Additional description (if needed):
Windrop used that patch. I think they used it, because some time ago, the FreeConsole() behaviour in Cygwin was broken. Now it compiles and runs fine, but as i tested below, it works the same with and without FreeConsole(). So why not clean that old legacy code up.
Original patch here:
http://lists.eggheads.org/pipermail/patches/2001-March/000897.html
http://windrop.sourceforge.net/patches/eggdrop1.8.0.patch

Test cases demonstrating functionality (if applicable):
I tested with and without FreeConsole() executed under eggdrops background mode under Cygwin 2.11.1 under Windows 7 with gcc 7.3.0. No difference. OK.

@michaelortmann michaelortmann changed the title Eggdrop does not need FreeConsole() Eggdrop does not need FreeConsole() anymore Nov 10, 2020
@michaelortmann michaelortmann changed the title Eggdrop does not need FreeConsole() anymore (Cleanup) Eggdrop does not need FreeConsole() anymore Nov 10, 2020
@michaelortmann michaelortmann changed the title (Cleanup) Eggdrop does not need FreeConsole() anymore (Cleanup) Cygwin: Eggdrop does not need FreeConsole() anymore Nov 10, 2020
@michaelortmann
Copy link
Member Author

cygwin console is fine, but cmd.exe hangs after:

eggdrop.exe-1.9.0 eggdrop.conf
exit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant