Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 May 1998 18:17:12 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-sys@FreeBSD.ORG, jb@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/sys termios.h
Message-ID:  <199805060817.SAA03744@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>  Modified files:
>    sys/sys              termios.h 
>  Log:
>  Change a couple of long types to int to match NetBSD so that termios
>  works on alpha without any modifications.

Unsigned long was correct (*).  Unsigned int is incorrect because ints
may be 16-bit.  NetBSD should be more concerned about this than us.

(*) but not best.  speed_t and tcflag_t should be u_int if ints have
about 32 bits or more, otherwise u_long.

Bruce

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805060817.SAA03744>