I'm contemplating another set of changes... to eliminate external application access to libucb.

Basically, most of the *commands* in /usr/ucb already do, or can be made to, use ordinary libc instead of libucb stuff.

I'd like to remove the actual /usr/ucblib/ bits. One can't build applications that use this this anymore, and the library has been obsolete since ~forever. (Since Solaris 2.0 shipped, actually.)

Why not leave the library around forever? Because it wastes time, and is not properly maintained anymore. Additionally, some functions in it are incompatible with stuff in libc, which can result in weird crashes and segfaults. It would be better if these situations resulted in a failure in the linker/loader, rather than sometime later in runtime.

Googling around, I found that at least one possible concern, which is that mplayer/ffmpg is sometimes built against libucb. (No doubt this is a cause of great confusion.) They can be recompiled without this dependency however.

I'm not aware of any commercial applications which depend on libucb.

Note that stock OpenSolaris does not include libucb on the LiveCD.

Thoughts?  Is this premature?  Am I tilting at windmills?

   - Garrett

_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to