CVSROOT: /cvs Module name: src Changes by: [email protected] 2011/12/19 17:41:24
Modified files:
usr.bin/mandoc : apropos_db.c mandocdb.c
Log message:
Do not cast void pointers to pointers requiring alignment.
This makes mandocdb(8)/apropos(1) work on strict alignment architectures.
Basic way to fix this confirmed by deraadt@ and kettenis@, thanks.
This now works on both sparc64 and i386, but note that the binary
database format is still machine-dependent.
