-
Notifications
You must be signed in to change notification settings - Fork 701
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build For FreeBSD and Fix Client Connect on Success Problem
In client.cc, the code was failing to call registerFdOneShot after ::connect returned success. Apparently in all the other *nix we've tried, ::connect returns -1 with errno EINPROGRESS, whereas in FreeBSD ::connect simply returns 0 (success); tweaked the code so registerFdOneShot is called in the "::connect returns 0" case. This makes cookie_test_3 pass, it fails on FreeBSD otherwise. emosandlibevdefs.h: Add comment on why FreeBSD uses libevent and not the FreebSD Linuxulator. .clang-format-ignore: Ignore the formatting in emosandlibevdefs.h (emosandlibevdefs.h uses the same formatting as eventmeth.h - see previous commit for why it was pulled out of eventmeth.h). meson.build: Include execinfo library explicitly for FreeBSD (it is a separate library in FreeBSD, but not in other *nix seemingly). eventmeth.cc: Fixed an indentation issue (no change in functionality).
- Loading branch information
1 parent
83a8425
commit 8e816a6
Showing
6 changed files
with
35 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.4.1.20240712 | ||
0.4.1.20240719 |