On 07/29/10 13:16, Gordon Ross wrote:
This is _so_ overdue.  Thanks for working on it.

Would you consider adding this well-known BSD symbol too?
   extern char * __progname;

Or would you consider that out of scope?  Here's a CR for it:
6735446 Want a __progname symbol for BSD-style source compatibility

Not out-of-scope at all.

Consider the __progname global variable added to this case.

Also, these functions from FreeBSD are added to the case:

      #include <stdlib.h>
      const char *
      getprogname(void);
      void
      setprogname(const char *progname);

Following FreeBSD's lead, the __progname variable,
even though it will exist, will not be declared in any header file,
and it will be versioned as SUNWprivate_1.1

Applications that want to use it will have to declare it themselves.

FreeBSD encourages the use of getprogname() rather than
directly referencing __progname.  Solaris will do the same.

Roger

_______________________________________________
opensolaris-arc mailing list
opensolaris-arc@opensolaris.org

Reply via email to