On 17 Apr 2016 11:10, Felix Janda wrote: > Fixes compilation error with musl libc: > > .libs/libtirpc_la-des_impl.o: In function `_des_crypt': > src/des_impl.c:591: undefined reference to `__bzero' > > --- a/src/des_impl.c > +++ b/src/des_impl.c > @@ -588,7 +588,7 @@ _des_crypt (char *buf, unsigned len, struct desparams *desp) > } > tin0 = tin1 = tout0 = tout1 = xor0 = xor1 = 0; > tbuf[0] = tbuf[1] = 0; > - __bzero (schedule, sizeof (schedule)); > + bzero (schedule, sizeof (schedule)); might as well convert to memset while you're at it since bzero is deprecated -mike
Attachment:
signature.asc
Description: Digital signature