You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Nadir Amra <am...@us.ibm.com> on 2005/05/21 23:52:54 UTC
fopen: r to rb
Does anyone have a problem of my changing
m_pFile = fopen(m_pcWSDDFileName, "r");
to
m_pFile = fopen(m_pcWSDDFileName, "rb");
I do not think it is a problem...but I thought I would check. On
ebcdic-based systems, reading in text mode would result in the file
getting converted to ebcdic, which is not what we want. Otherwise, I can
put an OS400 ifdef.
Nadir K. Amra
Re: fopen: r to rb
Posted by John Hawkins <HA...@uk.ibm.com>.
Make the change and we'll see what breaks :-)
Nadir Amra <am...@us.ibm.com>
21/05/2005 22:54
Please respond to
"Apache AXIS C Developers List"
To
"Apache AXIS C Developers List" <ax...@ws.apache.org>
cc
Subject
Re: fopen: r to rb
I forgot to mention that it is located in file wsdd/WSDDDocument.cpp
Nadir K. Amra
Nadir Amra/Rochester/IBM@IBMUS wrote on 05/21/2005 04:52:54 PM:
> Does anyone have a problem of my changing
>
> m_pFile = fopen(m_pcWSDDFileName, "r");
>
> to
>
> m_pFile = fopen(m_pcWSDDFileName, "rb");
>
> I do not think it is a problem...but I thought I would check. On
> ebcdic-based systems, reading in text mode would result in the file
> getting converted to ebcdic, which is not what we want. Otherwise, I
can
> put an OS400 ifdef.
>
>
> Nadir K. Amra
>
Re: fopen: r to rb
Posted by Nadir Amra <am...@us.ibm.com>.
I forgot to mention that it is located in file wsdd/WSDDDocument.cpp
Nadir K. Amra
Nadir Amra/Rochester/IBM@IBMUS wrote on 05/21/2005 04:52:54 PM:
> Does anyone have a problem of my changing
>
> m_pFile = fopen(m_pcWSDDFileName, "r");
>
> to
>
> m_pFile = fopen(m_pcWSDDFileName, "rb");
>
> I do not think it is a problem...but I thought I would check. On
> ebcdic-based systems, reading in text mode would result in the file
> getting converted to ebcdic, which is not what we want. Otherwise, I
can
> put an OS400 ifdef.
>
>
> Nadir K. Amra
>