Alan Coopersmith wrote:
But why do you want the code to adapt - most things should be
the same on both, and with Nevada and OpenSolaris converging
in the future, (or Nevada going away and being replaced by
OpenSolaris depending on your point of view), there should
eventually be no differences at all.

I agree this is short term.

What exactly is it going to do differently with this information?
If it's a specific functionality, why not test for that functionality
instead of assuming you know which derivative is which, and then
breaking when someone makes a new extrusion/distribution which
doesn't match your assumptions?

I agree code should make choices based on the functionality
available. This is best practice. But, sometimes it's
important to know which os you are working on, especially
for headless systems. The os can affect your configuration
approach.

Cheers,
Jim

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to