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



The following reply was made to PR lib/39215; it has been noted by GNATS.

From: christos%zoulas.com@localhost (Christos Zoulas)
To: M.Drochner%fz-juelich.de@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 08:28:05 -0400

 On Jul 31, 11:45pm, M.Drochner%fz-juelich.de@localhost (Matthias Drochner) 
wrote:
 -- Subject: Re: lib/39215: getdevmajor()/major() types don't match
 
 | 
 | christos%zoulas.com@localhost said:
 | > Don't change dev_t back to int please. dev_t in the christos_time_t
 | > branch is uint64_t! 
 | 
 | I'd never dare to touch dev_t itself -- the patch is just about
 | the return value of the userland getdevmajor() function.
 
 Ok, and with a dev_t being 64 bit, how getdevmajor() is supposed to
 return int and work? Unless you assume that the major fits in 31 bits.
 
 christos
 


Home | Main Index | Thread Index | Old Index