cvs commit: src Makefile.inc1 src/sys/sys param.h
src/tools/build Makefile src/lib/libc/locale rune.c src/include
Makefile runefile.h src/usr.bin/mklocale ldef.h lex.l yacc.y
Ruslan Ermilov
ru at freebsd.org
Mon Feb 28 17:37:03 GMT 2005
On Mon, Feb 28, 2005 at 06:00:43PM +0100, Dag-Erling Sm?rgrav wrote:
> Ruslan Ermilov <ru at FreeBSD.org> writes:
> > The disk formats do not have (useless) pointers and have 32-bit
> > quantities instead of rune_t and long. (htonl(3) only works
> > with 32-bit quantities, so there's no loss).
>
> Consider using hto[bl]e{16,32,64} instead?
>
It already had htonl(), so I didn't feel like changing it.
Also, htonl() is in POSIX while the latter is not.
Cheers,
--
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20050228/98ae9c72/attachment.bin
More information about the cvs-src
mailing list