Re: [PATCH 5/6] convert object type handling from a string to a number
- From
Nicolas Pitre <nico@cam.org>
- Date
- Feb 27, 2007, 17:26 UTC
- Message-ID
- <alpine.LRH.0.82.0702271225330.29426@xanadu.home>
- In-Reply-To
- <Pine.LNX.4.64.0702270816350.12485@woody.linux-foundation.org>
On Tue, 27 Feb 2007, Linus Torvalds wrote:
Show 6 quoted lines
> So to be portable, and to be safe, you really should make the error values > part of the enum, ie you should add a > > OBJ_ERROR = -1, > > if you want to make sure that the enum really can hold a negative number!
Fair enough. That's what I suggested in another email, i.e. to redefine OBJ_BAD = -1.
Nicolas