Fixed test compilation issue by using memset/memmove rather than bzero/bcopy #470

Merged
merged 1 commit into from Nov 13, 2012

Projects

None yet

2 participants

@cdolan
Contributor
cdolan commented Nov 13, 2012

No description provided.

@hurtonm
Member
hurtonm commented Nov 13, 2012

What compilation error/warning did you get? Did you try just to include strings.h?

@cdolan
Contributor
cdolan commented Nov 13, 2012

Including strings.h does fix the missing references to bzero/bcopy. But bzero/bcopy are deprecated and using memset/memmove results in a more cross-platform solution.

@hurtonm
Member
hurtonm commented Nov 13, 2012

You are right. I was curious.

@hurtonm hurtonm merged commit 37f8ce6 into zeromq:master Nov 13, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment