Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/libc/locale



In message: <20100606041254.GB19569%netbsd.org@localhost>
            David Holland <dholland-sourcechanges%NetBSD.org@localhost> writes:
: On Sat, Jun 05, 2010 at 11:53:32PM +0200, Alistair Crooks wrote:
:  > > Module Name:     src
:  > > Committed By:    tnozaki
:  > > Date:            Wed Jun  2 16:04:52 UTC 2010
:  > > 
:  > > Modified Files:
:  > >  src/lib/libc/locale: bsdctype.c
:  > > 
:  > > Log Message:
:  > > uint8_t -> unsigned char, int16_t -> short.
:  > 
:  > As ever, thank you for looking after our locale code.
:  > 
:  > I was just wondering why this change was made? It seems to be a backwards
:  > step to me?
: 
: I looked at it and it appears to me that it's a change to use
: non-sized types (that are guaranteed to be large enough) in the
: in-memory structures. If we ever do a port to a 36-bit machine or
: whatever it's probably desirable.

If you ever port to a 36-bit machine, you are going to have to lie and
define int32_t as 'int' anyway....

Warner


Home | Main Index | Thread Index | Old Index