Roy Marples wrote: > So, the question is, do we want to maintain one massive KV_to_int that > has different code paths for uname -s output, or get function.sh to > include an OS specific file we supply just for this one function? > > Or just put the function in modules-update and udev as they are the only > two applications that use it. > I vote for option 1b, if that's how you've decided to implement it. I'd rather it was just a simple function in the OS-specific function.sh though.
>> if you want a cleaner interface for is_older_than, then we could hammer >> that out, but if it's just a pass through to a C applet, then leaving it >> alone makes sense. > > Currently it's neither as it's been integrated into the librc dependency > code. Again, the only consumer of this function is now modules-update. > OK, but that doesn't mean it won't be needed in the future. It's already there, it might be handy later, leave it available imho. -- gentoo-dev@lists.gentoo.org mailing list