NetBSD-Bugs archive

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

Re: lib/39215: getdevmajor()/major() types don't match



On Aug 1,  2:45pm, dholland-bugs%netbsd.org@localhost (David Holland) wrote:
-- Subject: Re: lib/39215: getdevmajor()/major() types don't match

| The following reply was made to PR lib/39215; it has been noted by GNATS.
| 
| From: David Holland <dholland-bugs%netbsd.org@localhost>
| To: David Holland <dholland%eecs.harvard.edu@localhost>
| Cc: gnats-bugs%NetBSD.org@localhost, lib-bug-people%netbsd.org@localhost,
|       gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
| Subject: Re: lib/39215: getdevmajor()/major() types don't match
| Date: Fri, 1 Aug 2008 14:40:30 +0000
| 
|  On Thu, Jul 31, 2008 at 06:01:13PM -0400, David Holland wrote:
|   > > I'd never dare to touch dev_t itself -- the patch is just about
|   > > the return value of the userland getdevmajor() function.
|   > 
|   > I've made a note to change getdevmajor() to return long in said branch
|   > when the time comes.
|  
|  Not that this would be good enough. I guess it's time for devmajor_t
|  and devminor_t?

Yes, and I like those names better than just major_t and minor_t since
they are less namespace pollutant :-)

christos


Home | Main Index | Thread Index | Old Index