what is soalrish about
        #if SHOPT_CMDLIB_SOLARIS_BLTINS
        #include "solaris_cmdlist.h"
maybe its really xopenish and we (upstream) can just put in an
equivalent change using the appropriate xopen guard macros/names

-- Glenn Fowler -- AT&T Research, Florham Park NJ --

On Wed, 21 Feb 2007 00:46:55 +0100 Roland Mainz wrote:
> AFAIK the only remaining question is whether the following change to the
> AT&T source file "builtins.c"
> (http://www.nrubsig.org/people/gisburn/work/solaris/ksh93_integration/ksh93_integration_prototype004_webrev_20070210/allfiles/webrev/usr/src/lib/libshell/common/data/builtins.c.html)
> requires that we have to put a CDDL license at the top of that file:
> -- snip --
> Index: src/lib/libshell/common/data/builtins.c
> ===================================================================
> --- src/lib/libshell/common/data/builtins.c   (revision 515)
> +++ src/lib/libshell/common/data/builtins.c   (working copy)
> @@ -120,7 +120,9 @@
>       "wait",         NV_BLTIN|BLT_ENV|BLT_EXIT,      bltin(wait),
>       "type",         NV_BLTIN|BLT_ENV,               bltin(whence),
>       "whence",       NV_BLTIN|BLT_ENV,               bltin(whence),
> -#if SHOPT_CMDLIB_BLTIN
> +#if SHOPT_CMDLIB_SOLARIS_BLTINS
> +#include "solaris_cmdlist.h"
> +#elif SHOPT_CMDLIB_BLTIN
>  #define Q(f)         #f      /* libpp cpp workaround -- fixed 2005-04-11 */
>  #define CMDLIST(f)   BDIR Q(f), NV_BLTIN|NV_NOFREE, bltin(f),
>  #include <cmdlist.h>
> -- snip --
> This change is used to alter the list of ksh93 builtin commands (e.g.
> those enabled by default) to those specified by PSARC 2006/550.

> IMO the change doesn't justify the addition of a CDDL license template
> since it only adds an #ifdef/#include/etc.-sequence to include the list
> of builtins from another source file ("solaris_cmdlist.h") which is
> already licensed as CDDL.

> If that justification isn't enougth I'd like to follow
> http://mail.opensolaris.org/pipermail/ksh93-integration-discuss/2007-January/002001.html
> which AFAIK allows us to ship any of our code as CPL1.0 on demand and
> would therefore avoid the need to add a CDDL license template into that
> code (e.g. I am not happy with the idea to put a giant CDDL thing into
> David&&Glenn's code for that tiny #ifdef/#include/etc.-hack...).

> AFAIK that's all... :-)

> ----

> Bye,
> Roland

> -- 
>   __ .  . __
>  (o.\ \/ /.o) roland.mainz at nrubsig.org
>   \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
>   /O /==\ O\  TEL +49 641 7950090
>  (;O/ \/ \O;)
> _______________________________________________
> ksh93-integration-discuss mailing list
> ksh93-integration-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/ksh93-integration-discuss


Reply via email to