From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9ba4,54717784b9205253 X-Google-Attributes: gidf9ba4,public X-Google-Thread: 115614,54717784b9205253 X-Google-Attributes: gid115614,public X-Google-Thread: f678f,54717784b9205253 X-Google-Attributes: gidf678f,public X-Google-Thread: 111308,54717784b9205253 X-Google-Attributes: gid111308,public X-Google-ArrivalTime: 1995-03-21 12:37:34 PST Path: nntp.gmd.de!dearn!blekul11!ccsdec1.ufsia.ac.be!reks.uia.ac.be!idefix.CS.kuleuven.ac.be! Belgium.EU.net!EU.net!Germany.EU.net!howland.reston.ans.net!spool.mu.edu!bloom-beacon.mit.edu!paperboy.osf.org!rsalz From: rsalz@osf.org (Rich Salz) Newsgroups: comp.soft-sys.dce,comp.unix.aix,comp.client-server,comp.unix.osf.misc Subject: Re: PROBLEMS with DCE RPC on AIX Date: 21 Mar 1995 15:17:07 GMT Organization: Open Software Foundation Message-ID: <3kmqlj$8jq@paperboy.osf.org> References: <1995Mar16.112111.26682@informatik.uni-ulm.de> NNTP-Posting-Host: sulphur.osf.org Xref: nntp.gmd.de comp.soft-sys.dce:537 comp.unix.aix:50592 comp.client-server:8936 comp.unix.osf.misc:2461 In 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$