James Rich wrote:
> The LC_ALL comes from the setlocale() function.  man setlocale says that
> LC_ALL is a constant defined in locale.h.  What does Solaris want for the
> setlocale() function?

Okay, got this fixed most of this, here's an ugly diff to x5250.c
that works for me:
> #ifdef HAVE_LOCALE_H
> #endif
>   extern char *optarg;
>   extern int optind, opterr, optopt;
<         getopt (globalargc, globalargv, "Hvh:")) != -1)
>         getopt_long (globalargc, globalargv, "Hvh:", options, NULL)) != -1)

EXCEPT since Posix getope() works different than getopt_long, you dont have the
struct option to fill in ... So I will have to recode that to use what I do
get and pass around something different. Or we could

#ifndef option ... struct option ... #endif

or something silly like that.

- Jax

Jack J. Woehr                 # Libertarian candidate
PO Box 51, Golden, CO 80402   #  Colorado 6th US House District
http://www.well.com/~jax/2004 #    Vote November 2, 2004

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].