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:
 
27a28
> #ifdef HAVE_LOCALE_H
28a30
> #endif
130a133,134
>   extern char *optarg;
>   extern int optind, opterr, optopt;
1664c1668
<         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 ...

Replies:

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].