This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] crypt: Fix strict aliasing warnings


I suggest looking at how gnulib does it.
It's had a fix for this for some time.
It might help to compare notes.

http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=lib/md5.c

and similarly for sha256.c, sha512.c.

The md5 fix, at least, is a bit more readable and avoids the
need for additional functions.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]