From: rsalz@osf.org (Rich Salz)
Subject: Re: PROBLEMS with DCE RPC on AIX
Date: 21 Mar 1995 15:17:07 GMT [thread overview]
Message-ID: <3kmqlj$8jq@paperboy.osf.org> (raw)
In-Reply-To: JANSSEN.95Mar20185656@holmes.PARC.Xerox.Com
In <JANSSEN.95Mar20185656@holmes.PARC.Xerox.Com> janssen@parc.xerox.com (Bill Janssen) writes:
>I'm sure the DCE folks can fix this problem. But you might want to
>look at using ILU instead, which really does use strict ANSI C ...
That hardly seems like a realistic solution. Or was this a thin excuse
for a non-commercial ad?
IDL char's are defined to be translateable between ASCII and EBCDIC.
As a result, we had to play some games when mapping between "char"
in an IDL file, idl_char, and the C datatype char. DCE IDL defines
char to be unsigned. C doesn't define the signedness. As a result,
when going between IDL parameters and C library parameters, you sometimes
have to add casts. On some platforms, C char is unsigned and you can
leave off the casts. For maximum portability, don't.
I suppose ILU doesn't have this problem by only supporting 7bit ASCII.
/r$
prev parent reply other threads:[~1995-03-21 15:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-03-16 11:21 PROBLEMS with DCE RPC on AIX Thomas Beuter
1995-03-16 20:31 ` Tom Jordahl
1995-03-17 5:23 ` Gregory_Brail
1995-03-17 22:27 ` Trey Thompson
1995-03-21 2:56 ` Bill Janssen
1995-03-21 15:17 ` Rich Salz [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox