Skip to content
This repository was 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
TooTallNate wants to merge 2 commits intonodejs:masterfrom
TooTallNate:process.versions.zlib
Closed

process: expose the zlib version in use in process.versions#2896
TooTallNate wants to merge 2 commits intonodejs:masterfrom
TooTallNate:process.versions.zlib

Conversation

@TooTallNate
Copy link
Copy Markdown

I'm guessing this was just an oversight :)

Comment thread src/node.cc Outdated
Copy link
Copy Markdown
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
Copy Markdown
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 <
reply@reply.github.com>
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
Copy Markdown
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