Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

process: expose the zlib version in use in process.versions #2896

Closed
wants to merge 2 commits into from
Closed

process: expose the zlib version in use in process.versions #2896

wants to merge 2 commits into from

Conversation

TooTallNate
Copy link

I'm guessing this was just an oversight :)

@@ -55,6 +55,7 @@
#endif
#include <errno.h>
#include <sys/types.h>
#include <zlib.h>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will include the system zlib.h if there is one. Probably not what you want.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed. Looks like we do the same in node_zlib.cc though :(

On Monday, March 12, 2012, Ben Noordhuis <
[email protected]>
wrote:

@@ -55,6 +55,7 @@
#endif
#include <errno.h>
#include <sys/types.h>
+#include <zlib.h>

This will include the system zlib.h if there is one. Probably not what
you want.


Reply to this email directly or view it on GitHub:
https://github.com/joyent/node/pull/2896/files#r548538

We could inadventently be picking up the system zlib header instead of
the bundled one or another shared version.
@bnoordhuis
Copy link
Member

Thanks Nathan, landed in 9701f1c.

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

Successfully merging this pull request may close these issues.

2 participants